Hi, Can someone please advise if its OK to uncomment the session save path in php.ini ? Its set to /tmp which is where sessions should be saved anyway but for some reason it is commented out by default. (php5)
Is it safe to simply uncomment it ?
Hi, Can someone please advise if its OK to uncomment the session save path in php.ini ? Its set to /tmp which is where sessions should be saved anyway but for some reason it is commented out by default. (php5)
Is it safe to simply uncomment it ?
I have the same question... Should this not accelerate php? I question it only because the default WHM configuration has no defined session save path.
Anyone?
I think you misunderstand.
The master php session save path, as specified in WHM, is 'N;/path'. Does this mean it's disabled? Is this right?
so we should or shouldn't not comment it out "session.save_path = /tmp"?
we've got many this errors:
PHP Warning: PHP Startup: mm_create(0, /session_mm_cgi585) failed, err mm:core: failed to open semaphore file (Permission denied) in Unknown on line 0
I would like to know this as well. Apparently our hosted members can not install SugarCE because the installation process dies on:
Session Save Path Setting The session.save_path setting in your php configuration file (php.ini) is not set or is set to a folder which did not exist.
So, if we simply uncomment the value in question in the server's global php.ini file I think they will be able to get past this point in the installation process, BUT, will it cause other errors on the server if we do this?
The answer is that its a standard php.ini file default setting. By default PHP will use /tmp anyway if this is commented out. Some software requires that the path be specifically set - in which case just uncomment it. At the end of the day - you should set it to whatever you want it to be. It does no harm to uncomment that entry and set it specifically to /tmp.
The changes you make to the php.ini on the server are global. Sites on your server can only use the setting provided in php.ini unless they are using an ini_set overrride or a php.ini of their own.
PHP itself will always default to /tmp if you dont specify the session save path - i.e it is commented out. Therefore all sites on your server will use /tmp by default. If you specify /tmp instead of commenting it out - all sites will still use /tmp. They can only use an other-than-the-default setting if they are overriding the main php.ini in which case they will only be changing their own settings anyway.
Okay cool. So if I have all this straight, then no-harm-done either way (?).