From: searchadm at goschorn dot de Operating system: Suse Linux 8.2 PHP version: 4.3.7 PHP Bug Type: Session related Bug description: session_start(): Failed to initialize storage module
Description: ------------ php tells the following problem when i want to start new sessions [17-Jun-2004 08:59:01] PHP Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /www/mineralienatlas/htdocs/forum/index.php on line 109 [17-Jun-2004 08:59:03] PHP Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /www/mineralienatlas/htdocs/forum/index.php on line 109 [17-Jun-2004 08:59:04] PHP Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /www/mineralienatlas/htdocs/forum/index.php on line 109 ------------------ here is the corresponding code ---- Start Code if (empty($modSettings['enableCompressedOutput'])) ob_start(); if (isset($_GET['PHPSESSID']) && preg_match('~[^A-Za-z0-9]~', $_GET['PHPSESSID']) != 0) die('Hacking attempt...'); // Start the session. session_start(); // line 109 <-------------- if (version_compare(PHP_VERSION, '4.2.0') == -1) { $HTTP_SESSION_VARS['php_412_bugfix'] = true; // And, 4.2.x and above auto-seed ;). srand(time()); } ....... ---- End Code it's not easy to reproduce the problem because the server has to run several days to get the problem. an "apachectl restart" solves the problem for some days again. the /tmp has 777 right there are only very few < 20 files in the directory when it crashes. Part of my php.ini ---- Start Session] ; Handler used to store/retrieve data. session.save_handler = files ---- End Saw some other threads here with the same problem but the threads are closed so i open an new one. Think the solve code should already be in 4.3.7 and it didn't help or isn't it? Regards Stefan ---------------------- Apache 2.0.48 ---------------------- ---- php compile settings start config.nice [----] 0 L:[ 1+ 0 1/ 64] *(0 /1298b)= # 35 0x23 #! /bin/sh # # Created by configure './configure' \ '--prefix=/prog/php' \ '--with-_lib=lib' \ '--disable-debug' \ '--enable-bcmath' \ '--enable-calendar' \ '--enable-ctype' \ '--enable-dbase' \ '--enable-discard-path' \ '--enable-exif' \ '--enable-filepro' \ '--enable-force-cgi-redirect' \ '--enable-ftp' \ '--enable-gd-imgstrttf' \ '--enable-gd-native-ttf' \ '--enable-inline-optimization' \ '--enable-magic-quotes' \ '--enable-mbstr-enc-trans' \ '--enable-mbstring' \ '--enable-mbregex' \ '--enable-shmop' \ '--enable-sigchild' \ '--enable-sysvsem' \ '--enable-sysvshm' \ '--enable-track-vars' \ '--enable-trans-sid' \ '--enable-versioning' \ '--enable-wddx' \ '--with-bz2' \ '--with-dom=/usr/include/libxml2' \ '--with-ftp' \ '--with-gdbm' \ '--with-gettext' \ '--with-gmp' \ '--with-imap=yes' \ '--with-jpeg-dir=/usr' \ '--with-ldap=yes' \ '--with-mcal=/usr' \ '--with-mcrypt' \ '--with-mysql=/usr/local/mysql' \ '--with-ndbm' \ '--with-pgsql=/usr' \ '--with-png-dir=/usr' \ '--with-t1lib' \ '--with-tiff-dir=/usr' \ '--with-ttf' \ '--with-freetype-dir=yes' \ '--with-xml' \ '--with-xpm-dir=/usr/X11R6' \ '--with-zlib=yes' \ '--with-gd' \ '--with-openssl' \ '--with-curl' \ '--with-imap-ssl' \ '--with-iconv' \ '--with-mm' \ '--with-apxs2=/prog/apache/bin/apxs' \ 'i686-pc-linux-gnu' \ "$@" ---- php compile settings end -- Edit bug report at http://bugs.php.net/?id=28825&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28825&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28825&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28825&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28825&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28825&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28825&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28825&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28825&r=support Expected behavior: http://bugs.php.net/fix.php?id=28825&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28825&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28825&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28825&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28825&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28825&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28825&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28825&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28825&r=float