#48094 [NEW]: Two graceful restarts are needed to enable PHP
| From: | albegley at apple dot com | Date: | Mon, 27 Apr 2009 23:23:55 +0000 |
| Subject: | #48094 [NEW]: Two graceful restarts are needed to enable PHP | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-136427@lists.php.net to get a copy of this message | ||
From: albegley at apple dot com
Operating system: all
PHP version: 5.2.9
PHP Bug Type: Apache2 related
Bug description: Two graceful restarts are needed to enable PHP
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 bug report at http://bugs.php.net/?id=48094&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48094&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48094&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48094&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48094&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48094&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48094&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48094&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48094&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48094&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48094&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48094&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48094&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48094&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48094&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48094&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48094&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48094&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48094&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48094&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48094&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48094&r=mysqlcfg