Welcome Guest | Login

SugarCRM Install w/Custom php.ini file

I'm installing SugarCRM on my site and everything is all good except it needs Writable Session Save Path (), it says it's "Not A Valid Directory". As a result I'm not able to proceed with the install. What should I do here?

2007-03-01 11:43 AM

Hi Tony - I'm having the same problem you are with SugarCRM. It appears that the developers know about it but it's hard to tell. I read over their docs and forums and it seems a fix that works for one person doesn't work for another so I'm not sure what to think.

What version do you have installed? I have 4.5.1 installed - I may try a previous release to see if it'll work but I've read that earlier releases don't play well with php-5.1. I'll let you know if I find a solution to this. Good Luck!

Seth

2007-03-01 04:25 PM

Seth
Will had given a link for using a custom php.ini file:http://www.kics.bc.ca/faq/phpini.html

I went ahead and tried following it and I created a folder to hold my php.ini file and then placed an .htaccess file in the folder that was to reference that php.ini file by doing:

$ echo >.htaccess 'SetEnv PHPRC /home/<MY DOMAIN>/<MY_PHP_CUSTOM_FOLDER>'

<MY_PHP_CUSTOM_FOLDER> is the folder that holds my custom php.ini file.

I set my session.save_path =/tmp

The problem is that the .htaccess file in the folder that needs to  reference the custom php.ini file is not picking up that path.

2007-03-02 03:20 AM

Hello Tony,

I am not able to find a workaround for your issue. Instead we have set the session.save_path =/tmp globally on our servers. I hope the server wide change will solve your issue.

2007-03-03 07:01 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!