RE: [PHP] PHP and Sessions

From: Date: Wed, 26 Jul 2000 15:41:48 +0000
Subject: RE: [PHP] PHP and Sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-8325@lists.php.net to get a copy of this message
Which SSL package are you using? I've had trouble in the past with ApacheSSL and PHP3 not working together (in general, not with sessions) on Linux, though a FreeBSD friend of mine claims to have it working without problems. I've had no problems with mod_ssl. We're using Raven here at work and believe that it is causing sessions to break. PHP has no problem writing to /tmp; sess_* files are created, but they remain 0 bytes. We're not entirely sure that Raven is causing the problems, but without it (and a few other module differences), sessions work fine. The apache error log shows the following. Perhaps you have a similar message? <b>Warning</b>: Failed to write session data. Please check that the current setting of session.save_path is correct (/tmp/sessions) in <b>Unknown</b> on line <b>0</b><br> <br> <b>Warning</b>: write failed: Bad file descriptor (9) in <b>Unknown</b> on line <b>0</b><br> This probably doesn't help at all, but it may help to narrow down the cause of the problem. seth On Wed, 26 Jul 2000, Sean Mason wrote: > Yes, I have looked through the php.ini file. Currently it is pointing to > the /tmp directory, which has read, write, and execute permissions to all... > > Any other ideas? > Sean. > > -----Original Message----- > From: Shashank Tripathi [mailto:shanx@shanx.com] > Sent: Wednesday, July 26, 2000 11:27 AM > To: seanm@e-commatrix.com; php-general@lists.php.net > Subject: RE: [PHP] PHP and Sessions > > Have you changed the session_save in the php.ini? > > Look under the "[Session]" section in the INI file and play with the values. > > HTH, > Shanx > > -----Original Message----- > From: Sean Mason [mailto:seanm@e-commatrix.com] > Sent: Wednesday, July 26, 2000 10:25 PM > To: php-general@lists.php.net > Subject: [PHP] PHP and Sessions > > > Greetings all; > > My work week this week started with a problem that I have not yet been able > to resolve. > I have installed PHP successfully (compiled into apache) on a few machines, > without any hitches now. They have been running smoothly for some time. > > However, the company just recently purchased two new web servers. > They are running the usual: > RedHat 6.2 > Apache 1.3.12 > Mod_ssl (2.5.1) > PHP4.0.1pl2 > (and mysql 3.22.32) > > Now, whenever I try to access any of the session functions (session_start(); > or session_register("x");) The web server does not send a response... it > just sits there until the connection times out. If the page calling the > session tools is in a frame, the rest of the frames load, and the "session > frame" sits there until timeout. > > I've used the exact same configure scripts as the other machines, which are > working fine: > > PHP is configured as: > ./configure -with-apache=../apache_x --with-mysql=/usr/local -enable-track- > vars -disable-debug > make clean > make > make install > > as well as apache: > ./.configure -prefix=/www --activate-module=src/modules/php4/libphp4.a (and > some ssl stuff) > > All compiles OK, web server starts up. It parses out all php scripts OK... > Just when it reaches those darn sessions. > > Any ideas, anyone??? > Thanks in advance! > Sean. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > >

« previous php.general (#8325) next »