From: r2 at music dot lt Operating system: FreeBSD PHP version: 5.2.1 PHP Bug Type: Session related Bug description: Session engine can't access /var/tmp when safe mode is on
Description: ------------ After upgrading from PHP 5.2 to PHP 5.2.1 error log is full of these lines: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: SAFE MODE Restriction in effect. The script whose uid is 80 is not allowed to access /var/tmp owned by uid 0 in /file/path.php on line 1038 PHP Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /file/path.php on line 1038 safe mode is on, open_basedir includes /var/tmp, safe_mode_include_dir is set to /var/tmp Needed to turn off safe mode. -- Edit bug report at http://bugs.php.net/?id=40434&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40434&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40434&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40434&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40434&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40434&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40434&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40434&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40434&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40434&r=support Expected behavior: http://bugs.php.net/fix.php?id=40434&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40434&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40434&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40434&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40434&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40434&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40434&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40434&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40434&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40434&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40434&r=mysqlcfg