PDA

View Full Version : Sessions - php.ini not setting my temp folder


phrygius
02-02-2005, 08:58 PM
I'm trying to start using sessions and after getting errors about the temp file, I realized that php.ini uses "/tmp" as the default temp folder, so I changed it to one I want it to use, but my scripts are still returning errors saying it cant write to "/tmp", which doesnt exist. Plus, I'm on windows, so thats the wrong slash.

I tried rebooting the server, thinking there was some PHP cache that needed to be flushed or something, but its still not working. I heard that windows has trouble with PHP sessions. Anyone know a workaround?

gsoft
02-02-2005, 10:16 PM
What did you change it too? Have the errors changed?

phrygius
02-03-2005, 02:44 PM
I changed it to "C:\sessiontemp", and no, the errors have not changed since I changed php.ini.