php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48094 Two graceful restarts are needed to enable PHP
Submitted: 2009-04-27 23:23 UTC Modified: 2009-05-09 01:00 UTC
From: albegley at apple dot com Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 5.2.9 OS: *
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: albegley at apple dot com
New email:
PHP Version: OS:

 

 [2009-04-27 23:23 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-01 17:14 UTC] jani@php.net
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.



 [2009-05-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 20:01:29 2024 UTC