RE: [PHP-INST] Configuring Sessions In PHP

From: Date: Tue, 20 Mar 2001 14:40:02 +0000
Subject: RE: [PHP-INST] Configuring Sessions In PHP
Groups: php.install 
Request: Send a blank email to php-install+get-2523@lists.php.net to get a copy of this message
I'm not a 100% sure but I think sessions only work with php compiled as an apache module... could be wrong on that though. However, I do remember reading something somewhere about that. Anyway, have you checked that PHP was compiled with sessions tracking and that cookies are enabled in your browser. You can do a phpinfo() to see if PHP has been compiled with session support. I had errors as well until I included --enable-trans-sid and --enable-track-vars. Also, check to make sure that the sessions_save_path is valid and exists. Check your php.ini file for the current setting. Another way is to use phplib. Dean -----Original Message----- From: Eric Pankoke [mailto:epankoke@csdatasol.net] Sent: Monday, March 19, 2001 7:21 PM To: php-install@lists.php.net Subject: [PHP-INST] Configuring Sessions In PHP I apologize if this already made it to the list, but as far as I can tell it did not. I am trying to use PHP 4.0.4pl1 with Windows 98 SE and Personal Web Server 4.x (not sure exactly which version). So far everything seems good, except when I try to add the line session_start() to a PHP page I get an error. Are there some settings I need to add to php.ini to get this to work? I am using php.exe. Any help that could be offered would be much appreciated. Thank you. Eric -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#2523) next »