Session Saving. [Fixed it]

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
Fractal
Forum Commoner
Posts: 54
Joined: Tue Aug 16, 2005 1:28 pm

Session Saving. [Fixed it]

Post 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.
prleo1
Forum Newbie
Posts: 4
Joined: Fri Jan 19, 2007 1:07 pm

Post 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"
Post Reply