Page 1 of 1

Session Saving. [Fixed it]

Posted: Thu Dec 21, 2006 9:22 am
by Fractal
I just upgraded php to 5.2.0 and it can't save the session to the path.

session.save_path="C:\DOCUME~1\Dylan\LOCALS~1\Temp\php\session"

(Errors found at my site)

I wouldn't really mind this, except it disables phpMyAdmin and other sites I host that use sessions.

Anybody know the problem?

Note I run apache and have a windows box so it might be a different solution verses a linux one or iis running or something.

EDIT
As it turns out, I don't need to set it at all. I had it commented out in my php 5.1.4 ini and I do now in my 5.2.0 ini.

Posted: Fri Jan 19, 2007 1:26 pm
by prleo1
I wouldn't necessarily save the session path in a temp path directory.
Every php, Apache box that I have configured, i created a sessions folder in the PHP main directory, then added this in the php.ini file as shown below.

session.save_path = "c:\prod\PHP\sessions"