Installing PHP5 performs a reload to apache instead of a restart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: php5
Seen in Ubuntu 9.04 Jaunty
When installing the PHP5 package I see the following behavior:
------------
Selecting previously deselected package php5.
Unpacking php5 (from .../php5_
Setting up php5-common (5.2.6.
Setting up libapache2-mod-php5 (5.2.6.
* Reloading web server config apache2 [ OK ]
Setting up php5 (5.2.6.
------------
It install the package and issues a reload, but the reload doesn't load the new configurations for the PHP5 module and makes the usage of PHP impossible unless a manual restart is performed. Also not making it consistent with the removal.
That outpust a warning to the console:
-------------
Module php5 disabled.
Run '/etc/init.
-------------
The expected behavior would be to issue a restart or to post an alert to manually perform the restart to the apache service.
I can confirm this issue in Karmic and php5 5.2.10. dfsg.1- 1ubuntu1. Just not sure if the issue is reload vs. restart.
Doing an extra /etc/init.d/apache2 reload did the trick just as well as a /etc/init.d/apache2 restart.