From: curtis at curtisjackson dot com Operating system: Mac OS X PHP version: 5.2.5 PHP Bug Type: Apache2 related Bug description: PHP 5.2.4 stops running (?crashes?) while idle
Description: ------------ Yes, I am running 5.2.4 (as shipped with Leopard) because the 5.2.5 OS X binary is not yet available; I figured I'd report this anyway since it doesn't appear to be something that was reported and fixed between 5.2.4 and 5.2.5. Macbook Pro, OS X 10.5.1, apache2 shipped with Leopard. Apache loads the PHP module just fine, and runs fine. I'll leave it alone (working elsewhere on the machine or physically leaving the machine, doesn't matter), and several hours later I will return and try a PHP page that was working perfectly before, but now Apache just serves up the PHP source code for the page -- PHP has obviously quit or crashed; I don't know if it crashed an hour or two before while idle, or if it crashes/quits while loading the page. Apache is still fine, so is MySQL. Restarting Apache fixes the problem, and PHP is working again. I will wildly guess that this happens every 4-6 hours, from empirical data. I've combed through all the console and system and app logs I can find, but I can't find any indication of what is going wrong. If someone can tell me where to look, or tell me how to change php.ini to enable more logging or somesuch, I'll be happy to do so. I will also try this with 5.2.5 as soon as that binary is available for OS X. Reproduce code: --------------- n/a Expected result: ---------------- n/a Actual result: -------------- n/a -- Edit bug report at http://bugs.php.net/?id=44002&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=44002&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44002&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44002&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44002&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44002&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44002&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44002&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44002&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44002&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44002&r=support Expected behavior: http://bugs.php.net/fix.php?id=44002&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44002&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44002&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44002&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=44002&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=44002&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44002&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44002&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44002&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44002&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44002&r=mysqlcfg