Problem:
System Check fails installation with:
Writable Session Save Path (d:\php\tmp) Not A Valid Directory
I have searched the forum for this issue and found a ton. Unfortunately none of what I found has helped.
Environment:
Windows 2003 Server (Dedicated - full access)
IIS 6.0
PHP 5.1.6
Sugar Suite Version is 4.5.0
MySQL Version is 4.0.17 -nt
Me: I am a coder well versed in ASP and Perl, stumble mostly forward in PHP and Java. I am comfortable editing source files if need be (almost started to do it, but thought I might be smart for once and try the forum first).
Observations:
1. Other PHP applications are successfully installed and running on this server. ASP, ASP.net, Perl and PHP applications are succesfully using MySql on this server.
2. Permissions on the d:\php\tmp directory ( and all other paths that have been tried) have been temporarily set to:
System: Full Permissions
Anonymous Web User: Full Permissions
3. Many other combinations of save_path settings have been tried, using single quotes, double quotes, no quotes, with and without subdirectory levels, subdirectory levels set to 0, path within php directory, path within web root, path within sugar directory, using forward slashes, using backward slashes, using double backward slashes, using beginning slash, no beginning slash, etc. If it is a path form issue, we need some better input as to what it might be - because we've tried the obvious stuff.
4. IIS is restarted after each change to the php.ini file, and the new path is reflected in the system check acceptance screen - so the php.ini file is being read ok.
5. Sugar is successful in writing to the current save_path directory and many of the previously tried save_path directories - here is an example:
Contents of d:\php\tmp\sess_job5la9kr4a1fpi0ff11to7rr0:
language|s:5:"en_us";oc_install|b:0;setup_db_type| s:5:"mysql";setup_site_sugarbeet_automatic_checks| b:1;setup_site_sugarbeet_anonymous_stats|b:1;setup _license_accept|b:1;license_submitted|b:1;test_ses sion|s:22:"sessions are available";
6. Here are the Current php.ini settings that seem relevant from previous forum discussions:
session.save_handler = files
session.save_path="0;d:\php\tmp"
;open_basedir =
safe_mode = Off
extension_dir = "D:\php\ext"
extension=php_mbstring.dll
extension=php_curl.dll
extension=php_imap.dll
7. Here is the System Check output from install.php (all green except session save path):
PHP Version Unsupported PHP Version Installed: ( ver 5.1.6 )
MySQL Database OK
MB Strings Module OK
XML Parsing OK
PHP Safe Mode Turned Off OK
PHP Allow Call Time Pass Reference Turned On OK
PHP Memory Limit >= 32M OK (Unlimited)
Writable SugarCRM Configuration File (config.php) OK
Writable Custom Directory OK
Writable Modules Sub-Directories and Files OK
Writable Data Sub-Directories OK
Writable Cache Sub-Directories OK
Writable Session Save Path (d:\php\tmp) Not A Valid Directory
Optional Components Status
IMAP Module OK
cURL Module OK
PHP-JSON Module (v 1.1.1) Not found: The PHP-JSON PHP module reaps enormous performance benefits.
ZLIB Compression Module OK
Note: Your php configuration file (php.ini) is located at:
C:\WINNT\php.ini
At a loss. I recently discovered SugarCRM and have clients who could benefit from it, some on Linux/Apache and some on Windows boxes - so I really need to make it work on Windows/IIS. Ready to start debugging this myself but I've got to believe somebody has had this same issue.
Thanks in advance,
Jon


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks