The session save path is not defined in your php.ini (/usr/local/lib/php.ini) fi

Started by WoE, July 17, 2008, 07:02:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WoE

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?
Webmaster for a Lord of the Rings Online Kinship

Jason

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.


WoE

Webmaster for a Lord of the Rings Online Kinship

WoE

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.
Webmaster for a Lord of the Rings Online Kinship

Jason

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.

WoE

Got it to work.  MY bad.  I copied the php.ini to the directory, but the program had an install directory.
Webmaster for a Lord of the Rings Online Kinship