[Bug 762054] Re: php5-curl install should restart apache not reload it
Clint Byrum
clint at fewbar.com
Sat Apr 16 15:45:01 UTC 2011
Hi ironstorm, thanks for taking the time to file this bug report and
help us make Ubuntu better!
I've just done some tests with this, and I cannot confirm the issue on
natty..
I created a PHP file in the webroot of apache:
<?php
$ch = curl_init();
Then hit it without curl installed.. and I got a 500 error as I would
expect.
I then installed php5-curl, and refreshed the page. As soon as the
libapache2-mod-php5 trigger reloaded apache, the page started returning
a 200.
This is in apache's error log:
[Sat Apr 16 08:23:00 2011] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function curl_init() in /var/www/curl.php on line 3
[Sat Apr 16 08:23:00 2011] [notice] Graceful restart requested, doing restart
[Sat Apr 16 08:23:01 2011] [notice] Apache/2.2.17 (Ubuntu) PHP/5.3.5-1ubuntu6 with Suhosin-Patch mod_wsgi/3.3 Python/2.7.1+ configured -- resuming normal operations
It does seem to happen on maverick, but I can't seem to find the exact
changelog item that has made this a reality.
As such, I'm going to mark this as Fix Released, and open a task against
Maverick that is Confirmed, importance Low.
** Changed in: php5 (Ubuntu)
Status: New => Fix Released
** Also affects: php5 (Ubuntu Maverick)
Importance: Undecided
Status: New
** Changed in: php5 (Ubuntu Maverick)
Status: New => Confirmed
** Changed in: php5 (Ubuntu Maverick)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/762054
Title:
php5-curl install should restart apache not reload it
More information about the Ubuntu-server-bugs
mailing list