PDA

View Full Version : Am I allowed to edit my php.ini?



tj1182
03-09-2008, 11:16 PM
In order for me to get joomla to function properly I need to have my session save path writable. Do I need to contact HM or I can do it myself?

linFox
03-10-2008, 01:32 AM
You can definately do it yourself.
One thing to note is, if you have FastCGI off (check in cPanel under PHP Config), you need to copy the altered php.ini to every directory and subdirectory with .php files that need to be affected.

tj1182
03-10-2008, 03:51 PM
Great, do you have any idea how I do this?

linFox
03-10-2008, 06:12 PM
You should have your default php.ini in public_html.
If it's not there, go to PHP Config in cPanel, and under Install Default php.ini, click the INSTALL PHP.INI MASTER FILE button (tick either of the buttons above it, if you need either service). This will copy the default file to php.ini.default in public_html.
Rename this to php.ini, then you can edit it as you wish.

tj1182
03-10-2008, 08:44 PM
OK, got it. Which line do I need to edit to make my session save path writable? Is it, session.save_path = "N;/path" and if so, do I need to change it to Y, I guess for yes.

linFox
03-11-2008, 02:22 AM
Under that comment block (just under the NOTE 1 and NOTE 2) in php.ini, there should be the session.save_path directive. Uncomment it if it's commented (remove the semicolon in front of it) then set the path to something in your file space (probably /home/username/php/tmp where username is your account username). Create that folder if it doesn't exist (that folder would be called tmp within a folder called php, which is above public_html).
Then, find that path in an FTP client or the File Manager, and make sure that the permissions (chmod) are 755.

bpfreema
03-24-2008, 09:05 PM
I do not know if this helped tj or not, but it helped me.

Thanks!

tj1182
03-26-2008, 07:48 PM
No it did not, I even contacted live chat and they said the same thing ans when I go install Joomla or cmsmadesimple it still says session save path not writable. I installed it anyway and dont see a problem yet.