From: davidb at chelsea dot net Operating system: Solaris 2.8 PHP version: 5.2.4 PHP Bug Type: CGI related Bug description: FastCGI Broken due to session file - Redux
Description: ------------ I don't seem to be able to reopen the previous bug, #43086, as it was marked "bogus". Unfortunately, while this fixed the problem of the semaphore behavior change, it still didn't work. When php tries to read from the socket now, it gets an invalid descriptor: 17997: read(0, 0x007BBA0C, 8192) Err#134 ENOTCONN It actually looks like it's not behaving as the proc manager, but behaving as a regular PHP client. I note that the working php version of 5.2.0 goes into an accept() instead of a read: 18364: fcntl(0, F_SETLKW, 0xFFBEDA38) (sleeping...) Which is the correct behavior. Are there configuration changes that were made that I've missed in the documentation affecting the default behavior under FastCGI? Is it not detecting that it should be running in FastCGI mode right now? The run_configure, build, and Apache environment for 5.2.0 and 5.2.4 are identical, so something has changed in the PHP code. Please advise. -- Edit bug report at http://bugs.php.net/?id=43173&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43173&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43173&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43173&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43173&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43173&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43173&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43173&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43173&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43173&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43173&r=support Expected behavior: http://bugs.php.net/fix.php?id=43173&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43173&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43173&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43173&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43173&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43173&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43173&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43173&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43173&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43173&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43173&r=mysqlcfg
