[Bug 403599] Re: Installing PHP5 performs a reload to apache instead of a restart
This should be fixed in lucid now, thanks for the bug report. Regards chuck ** Changed in: php5 (Ubuntu) Status: Confirmed = Fix Released -- Installing PHP5 performs a reload to apache instead of a restart https://bugs.launchpad.net/bugs/403599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 403599] Re: Installing PHP5 performs a reload to apache instead of a restart
Thanks for the patch however debian does it a bit differently now and we will probably using that for karmic+1. Regards chuck -- Installing PHP5 performs a reload to apache instead of a restart https://bugs.launchpad.net/bugs/403599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 403599] Re: Installing PHP5 performs a reload to apache instead of a restart
Great effort put on this matter, thanks! I'll run some tests regarding this. I find odd the need to use the restart, the reload/force-reload should perform the same action except of course for the immediate killing of all the connections. -- Installing PHP5 performs a reload to apache instead of a restart https://bugs.launchpad.net/bugs/403599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 403599] Re: Installing PHP5 performs a reload to apache instead of a restart
Discovered something rather interesting/confusing... First I did a rebuild of php5, modifying libapache2-mod-php5.postinst to make it abort (exit 1) just before it had time to run its invoke-rc.d apache2 force-reload. Turned out that after installation the new packages, and having libapache2-mod-php5 abort during postinst, I had to run invoke-rc.d apache2 force-reload twice before apache2 would parse php files. If I instead used invoke-rc.d apache2 restart, then once was enough. I guess that kind of goes along with my observation in the previous comment. Then there was one reload during the postinst and yet another manually afterwards; still two reloads in other words. Still, kind of confused by my finding. Why would one reload differ from two reloads? Would be nice to see if anyone could try to verify my results. -- Installing PHP5 performs a reload to apache instead of a restart https://bugs.launchpad.net/bugs/403599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 403599] Re: Installing PHP5 performs a reload to apache instead of a restart
There is also the related bug #152410. -- Installing PHP5 performs a reload to apache instead of a restart https://bugs.launchpad.net/bugs/403599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 403599] Re: Installing PHP5 performs a reload to apache instead of a restart
Noticed a rather significant historical detail... The construction of using invoke-rc.d apache2 force-reload in libapache2-mod-php5.postinst originates from at least back in 2004. At that time (well, actually didn't go further back than Ubuntu 6.06) /etc/init.d/apache2 had force-reload as being equivalent to to restart. Today, at least from Ubuntu 8.04 and forward, /etc/init.d/apache2 has force-reload instead acting as merely a reload. In other words, it seems as the original intent of the packager was to have apache2 restart during the installation of libapache2-mod-php5, an effect which later was lost due to the changing nature of /etc/init.d/apache2. Also, it seems reasonable to force a restart of apache2 when libapache2 -mod-php5 to make sure it's really activated. Hence I'm attachning a debdiff which explicitly tells invoke-rc.d to restart apache2. That said, we might not want to have apache2 automatically restart at every php5 upgrade, and by that potentially disturbing a live website. Especially not since we've been gracefully reloading now for a while. Hence the debdiff also libapache2-mod-php5.postinst to differ between doing a restart on installation and merely reloading on an upgrade. ** Attachment added: php5_5.2.10.dfsg.1-2ubuntu2.debdiff http://launchpadlibrarian.net/30369386/php5_5.2.10.dfsg.1-2ubuntu2.debdiff -- Installing PHP5 performs a reload to apache instead of a restart https://bugs.launchpad.net/bugs/403599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 403599] Re: Installing PHP5 performs a reload to apache instead of a restart
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. ** Changed in: php5 (Ubuntu) Importance: Undecided = Low ** Changed in: php5 (Ubuntu) Status: New = Confirmed -- Installing PHP5 performs a reload to apache instead of a restart https://bugs.launchpad.net/bugs/403599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs