From: [EMAIL PROTECTED] Operating system: Red Hat Linux 7.3 - 2.4.18-18 PHP version: 4.3.0 PHP Bug Type: Session related Bug description: Failed to write session data (Files).
I have very frequent errors in my logfiles concerning the session data. "[07-Jan-2003 18:46:30] PHP Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/php_sess) in Unknown on line 0" Users are sometimes reporting a problem where sessions are not maintained but this is apparently *usually* transparent to the users and it is not often noticed. The obvious things are in place, there IS a directory /tmp/php_sess and it is owned by the webserver user. I am using PHP 4.3.0 in safe_mode, as such: session.save_handler = files session.save_path = /tmp/php_sess session.use_cookies = On session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = On session.gc_maxlifetime = 1440 session.entropy_length = 0 session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = On I have apparently had this problem for quite some time dating back to 4.2.x. Please advise if there is anything I can try or do? I have read through the other similar bug reports that do exist but they all refer to version 4.2.3 and earlier and say the issue is solved in "later version" or "snapshot". Is this still a known issue in 4.3.0? Thanks. -- Edit bug report at http://bugs.php.net/?id=21503&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21503&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21503&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21503&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21503&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21503&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21503&r=support Expected behavior: http://bugs.php.net/fix.php?id=21503&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21503&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21503&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21503&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21503&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21503&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21503&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21503&r=gnused