[thelist] php session_start() function

kasimir-k evolt at kasimir-k.fi
Sun Apr 9 04:34:42 CDT 2006


Santilal Parbhu scribeva in 09/04/2006 0:40:
> I edited the first two files to make session.save_path c:\window\temp, and
> rebooted my PC, but when I ran phpinfo(), I found that the seesion.save_path
> was still /tmp.

Make sure also that the directory you specify exists - and is 
"c:\window\temp" typo here, or in your php.ini, or is your system 
directory really "window", not "windows" ;-)

Another gotcha I could imagine: make sure that in php.ini you don't have 
session.save_path set twice, first to C:\windows\temp and later to /tmp

> So either I have edited the wrong php.ini file or it hasn't taken up the new
> configuration.  Any ideas on how to make it do this?

phpinfo() tells you also the path of php.ini, in the first section 
there's entry "Configuration File (php.ini) Path"


.k



More information about the thelist mailing list