ID: 48094 Updated by: j...@php.net Reported By: albegley at apple dot com -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: * PHP Version: 5.2.9 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2009-04-27 23:23:55] albegley at apple dot com Description: ------------ A second graceful restart is needed to enable PHP. 1. Start apache with mod_php disabled. 2. Edit httpd.conf and enable the mod_php LoadModule directive. 3. Do a graceful restart of Apache. 4. Note that .php files are downloaded to client rather than being properly interpreted. 5. Do a second graceful restart of Apache. 6. Note that .php files are handled properly. Others have been reporting this for some time, with older versions of PHP, for example: http://aspn.activestate.com/ASPN/Mail/Message/php-dev/3591788 Expected result: ---------------- Other Apache plugins initialize themselves after a single graceful restart. It appears the php plugin is relying on its own static variables instead of using Apache data structures. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48094&edit=1