Kayako Logo
Installation & Upgrading Questions and issues regarding the installation and upgrade procedure of SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack (2) Thread Tools Search this Thread Display Modes
  2 links from elsewhere to this Post. Click to view. (#1) Old
netFusion Offline
Member
 
Posts: 393
Join Date: Sep 2003
Location: My wife calls it the doghouse...

SupportSuite
Owned License
Configure PHP.INI settings for a Windows based server - 20-07-2005, 06:54 AM

Here are some things you can check in your PHP.INI file if you are having trouble with PHP scripts.

The following settings are from a working installation and have been tested under both Windows 2000 and Windows 2003 using both CGI and ISAPI setup.

Code:
safe_mode = Off                ;not everything works with safe mode
max_execution_time = 300       ; Maximum execution time of each script, in seconds
max_input_time = 120	       ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M              ; Maximum amount of memory a script may consume (8MB)

error_reporting  =  E_ALL & ~E_NOTICE       ;Normal operating mode.  Set to E_ALL if you need to debug
display_errors = OFF           ;Normal operating mode.  Set to ON only if you need to debug.
display_startup_errors = OFF   ;Normal operating mode.  Set to ON only if you need to debug.
log_errors = On
error_log = C:\TEMP\PHP.LOG    ;I write errors to a log file. This file MUST be in a folder writeable from all websites.

post_max_size = 32M            ;Max size of messages and files that can be posted by PHP in Meg.

extension_dir = "C:\PHP"       ;Assuming you have copied your extensions into C:\PHP like I told you to
cgi.force_redirect = 0         ;Must be turned off for IIS.

file_uploads = On              ;If you want users to be able to upload files using PHP scripts.
upload_tmp_dir = "C:\TEMP"     ;Path must be in a folder writeable from all websites.
upload_max_filesize = 32M      ;Max file size that can be uploaded.


register_globals = On

session.bug_compat_42 = 1
session.gc_probability = 1
session.gc_divisor = 100
session.gc_maxlifetime = 1440
session.save_path = c:\temp      ;note this path will be different if you are on a linux box
session.bug_compat_warn = 1

session.save_handler = files
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php

session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0


netFusion Computer and Network Solutions
Web Site: http://www.netFusionKC.com
Web Store: https://www.netfusionkc.com/store/

Anything I say or do is my own opinion and may make absolutely no sense to anyone but me...
   
Reply With Quote
  (#2) Old
TheDoctor Offline
Community Moderator
Kayako Doctor
 
Posts: 171
Join Date: May 2004
Location: UK

eSupport
20-07-2005, 11:54 AM

Made sticky as well

Only comment I had was whether register_globals needs to be on for V3 as Im sure i've not got it set to on at the moment on my 2003 server, but only going by memory at the moment as I'm not near the server to check.

Regards
Alan
   
Reply With Quote
  (#3) Old
kickarse Offline
New Member
 
Posts: 11
Join Date: Apr 2005

20-07-2005, 04:40 PM

That is truly helpful, thanks!
   
Reply With Quote
  (#4) Old
netFusion Offline
Member
 
Posts: 393
Join Date: Sep 2003
Location: My wife calls it the doghouse...

SupportSuite
Owned License
22-07-2005, 01:29 AM

Quote:
Originally Posted by TheDoctor
Only comment I had was whether register_globals needs to be on for V3 as Im sure i've not got it set to on at the moment on my 2003 server, but only going by memory at the moment as I'm not near the server to check.
You may be correct. Looking through the code, there are comments in there that suggest you may not need register_globals with v3. I have not tried it yet to see what happens.

Eddie


netFusion Computer and Network Solutions
Web Site: http://www.netFusionKC.com
Web Store: https://www.netfusionkc.com/store/

Anything I say or do is my own opinion and may make absolutely no sense to anyone but me...
   
Reply With Quote
  (#5) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,827
Join Date: May 2003

28-07-2005, 07:11 PM

Hi,
v3 does not require register globals to be enabled.

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#6) Old
dcohn Offline
New Member
 
Posts: 11
Join Date: Sep 2005

28-09-2005, 10:29 PM

all things being equla what is the "BETTER MORE STABLE" Platform to run PHP/Kayako on. I constantly here Linux from many people but then I hear that it runs fantastic in W2K3.

Which is it.
   
Reply With Quote
  (#7) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,827
Join Date: May 2003

03-10-2005, 03:34 PM

Quote:
Originally Posted by dcohn
all things being equla what is the "BETTER MORE STABLE" Platform to run PHP/Kayako on. I constantly here Linux from many people but then I hear that it runs fantastic in W2K3.

Which is it.
We prefer Linux but have received no complaints from our Windows users. All of our products have been developed keeping the different operating systems and browsers in mind.

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#8) Old
Shawn Offline
New Member
 
Posts: 13
Join Date: Jan 2006

30-01-2006, 05:16 PM

I hope im posting this in the correct place. I am currently trying to get my pop3/imap Setup on a windows 2000 server. When i go to the php.ini and uncomment the "extension=php_imap.dll" everything quits responding. as well as support site, staff site, and the admin site. I have it currently commented out and the site works fine. What am i doing wrong. None of my email for anything currently works having to do with Kayako.
Any help appreciated.
Current Config looks like the following.
http://www.milestonemortgage.com/support/phpinfo.php
My sql version is "5"
Thanks in advance.


No trees were harmed in the submission of this email, but a bunch of electrons were terribly Inconvenienced.
   
Reply With Quote
  (#9) Old
netFusion Offline
Member
 
Posts: 393
Join Date: Sep 2003
Location: My wife calls it the doghouse...

SupportSuite
Owned License
31-01-2006, 01:47 AM

Quote:
Originally Posted by Shawn
I hope im posting this in the correct place. I am currently trying to get my pop3/imap Setup on a windows 2000 server. When i go to the php.ini and uncomment the "extension=php_imap.dll" everything quits responding. as well as support site, staff site, and the admin site. I have it currently commented out and the site works fine. What am i doing wrong. None of my email for anything currently works having to do with Kayako.
Any help appreciated.
Current Config looks like the following.
http://www.milestonemortgage.com/support/phpinfo.php
My sql version is "5"
Thanks in advance.

Hi Shawn!

First things first.

Did you follow my instructions here: Setup PHP on a Windows 2000 server

If so, and if you have your PHP.INI file setup as in the first thread above, you should have a file in your C:\TEMP\ folder called PHP.LOG.

Enable the "extension=php_imap.dll", restart IIS, access your support suite page so it will load PHP. Then open up the C:\TEMP\PHP.LOG file in notepad and look for any errors.

My first guess is that you do not have the php_imap.dll in the same folder as your PHP.EXE file or you do not have the C:\PHP\ folder in your system path. Thus PHP errors out when it can not find the extension to load.

Second guess would be that the user your web site runs under might not have the correct permissions to your C:\PHP\ folder.

Post your findings from the php.log file when you get a chance.

As for running SupportSuite on MySQL 5 under Windows, I could not tell you. I'm still running it on 4.x.

Eddie


netFusion Computer and Network Solutions
Web Site: http://www.netFusionKC.com
Web Store: https://www.netfusionkc.com/store/

Anything I say or do is my own opinion and may make absolutely no sense to anyone but me...
   
Reply With Quote
  (#10) Old
ehoffman Offline
Member
 
Posts: 200
Join Date: Dec 2005

SupportSuite
Owned License
31-01-2006, 04:31 PM

I use Win2k3 and its great. Just be careful with PHP setup.

MySQL 5....yes there are issues. You need to pull it out of strict mode in your instance configuration or you will have some very funky things going on. We did that and its a lot better.
   
Reply With Quote
  (#11) Old
KPotter Offline
Member
 
Posts: 58
Join Date: Dec 2003
Location: Basel, Switzerland

SupportSuite
Owned License
02-06-2006, 01:02 PM

I tried for months to get version 3 working with PHP5 on IIS 6.0. I would always get a blank setup page, even though a test .php page was working fine. Hiren suggested changing the following values which finally got me up and running:

short_open_tag = On
max_execution_time = 600
magic_quotes_gpc = On
   
Reply With Quote
  (#12) Old
danielpugh Offline
Member
 
Posts: 31
Join Date: Aug 2007

SupportSuite
Owned License

emphasis - 22-03-2008, 12:34 AM

magic_quotes_gpc = on
just spent 3 weeks trying to work out why kayako was slow over vpn(could manually telnet to port 80 and enter get / http/1.1 etc with unexplained 20 sec delay) above fixed the problem.

one other thing that may have helped is output_buffering=on

should mention that the slowness was mainly evident on osx/mac (virtual machine running windows on the mac in vmware fusion did not have the problem)
   
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://forums.kayako.com/f84/configure-php-ini-settings-windows-based-server-4067/
Posted By For Type Date
Windows server - File upload error unable to create a temporary file - SitePoint Forums This thread Refback 05-03-2008 03:11 PM
Windows server - File upload error unable to create a temporary file - SitePoint Forums This thread Refback 17-12-2007 07:11 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup PHP on a Windows 2000 server netFusion Technical Chat 5 03-10-2007 09:01 AM
Syncworks installation problems jenglish SyncWorks 10 29-03-2007 05:01 PM
URL to connect to my server during trial ozzee LiveResponse Desktop Application 10 22-01-2007 04:20 PM
Configure PHP.INI settings for a Windows based server netFusion Technical Chat 10 02-06-2006 01:02 PM
connection problem inteltechs InstaAlert 5 27-04-2006 12:23 AM



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Kayako provides online help desk software and support solutions; enabling companies to improve their support and reduce costs.

Our three main products include: SupportSuite, eSupport and LiveResponse



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46