[thelist] php session_start() function
kasimir-k
evolt at kasimir-k.fi
Sun Apr 9 09:19:06 CDT 2006
Santilal Parbhu scribeva in 09/04/2006 11:13:
> Configuration File (php.ini) Path php.ini
>
> I presume this means that the php.ini file is in the same directory as php.
Hmm... I'd expect to see absolute path for php.ini... but I don't know.
> session.save_handler = files ; handler used to store/retrieve data
> session.save_path = c:\WINDOWS\Temp; argument passed to save_handler
> ; in the case of files, this is the
> ; path where data files are stored
>
> The directory c:\WINDOWS\Temp is exactly as in my directory structure. This
> looks right to me - any comments??
It looks right...
> After re-booting I got the following from phpinfo:
> session.save_handler files files
> session.save_path /tmp /tmp
>
> This suggests that the changes I made did not work.
True. Makes me think that PHP isn't finding the php.ini. Try moving it
from php dircetory to C:\windows and restart Apache (no need to restart
your computer).
http://php.net/manual/en/configuration.php
Or plan B: set the value in httpd.conf, .htaccess or script level using
ini_set()
http://php.net/manual/en/function.ini-set.php
http://php.net/manual/en/ini.php
.k
More information about the thelist
mailing list