Charlottezweb

Charlottezweb Hosting => Support => Topic started by: WoE on July 17, 2008, 07:02:00 PM

Title: The session save path is not defined in your php.ini (/usr/local/lib/php.ini) fi
Post by: WoE on July 17, 2008, 07:02:00 PM
When installing a piece of software I am faced with the warning:
The session save path is not defined in your php.ini (/usr/local/lib/php.ini) file!

Doesn't this need to be set to handle sessions correctly?
Title: Re: The session save path is not defined in your php.ini (/usr/local/lib/php.ini) fi
Post by: Jason on July 17, 2008, 08:03:46 PM
You can fix that by uploading a php.ini file into your installation folder(s) and specifying the session save path in it to point to a folder you've created.

session.save_path = "/home/yourcpanelusername/foldername"

where foldername is a folder you create and give full write (777) permissions.

The file can just be a file with just that one line above in it.

Title: Re: The session save path is not defined in your php.ini (/usr/local/lib/php.ini
Post by: WoE on July 21, 2008, 11:21:56 AM
TY  :)
Title: Re: The session save path is not defined in your php.ini (/usr/local/lib/php.ini
Post by: WoE on July 22, 2008, 11:14:09 AM
I have tried to put this in my main folder and in the folder of the software being installed, and in both folders and still get a: The session save path is not defined in your php.ini (/usr/local/lib/php.ini) file! error :(

session.save_path = /home/cpanelname/sessions/;

Sorry about this, I usually can figure this stuff out on my own.
Title: Re: The session save path is not defined in your php.ini (/usr/local/lib/php.ini) fi
Post by: Jason on July 22, 2008, 12:31:33 PM
Just to confirm, you're using your own cpanelname right?  (and not the word "cpanelname")

Also, if there's an install folder, upload that php.ini into there too.  It has to be in every directory that needs that tmp path specified.
Title: Re: The session save path is not defined in your php.ini (/usr/local/lib/php.ini
Post by: WoE on July 23, 2008, 01:27:40 PM
Got it to work.  MY bad.  I copied the php.ini to the directory, but the program had an install directory.