[Bug 1025336] [NEW] installing php5-curl reloads apache *before* it's set up
Alan Jenkins
alan.christopher.jenkins at googlemail.com
Mon Jul 16 15:54:49 UTC 2012
Public bug reported:
php5-curl tries to reload apache when it's installed. I assume the idea
is to make the curl module available immediately. But the reload comes
too early - before php5-curl is set up. So I had to reload apache
manually in order to start using curl.
Maybe I'm wrong and there's some other reason for the reload :). It
seems a pity to have to do the manual reload though, when we're already
seeing one automatic reload happen.
To see whether curl was enabled, I used a simple test PHP file:
<?php phpinfo(); ?>
visited it in my web browser, and searched for "curl".
Here's the transcript. If you already have php5-curl installed, you'll
need to *purge* it ("Remove completely"), before you can reproduce this.
$ sudo apt-get install php5-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
php5-curl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.0 kB of archives.
After this operation, 118 kB of additional disk space will be used.
Selecting previously unselected package php5-curl.
(Reading database ... 213411 files and directories currently installed.)
Unpacking php5-curl (from .../php5-curl_5.3.10-1ubuntu3.2_amd64.deb) ...
Processing triggers for libapache2-mod-php5 ...
* Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 10.184.27.62 for ServerName
[ OK ]
Setting up php5-curl (5.3.10-1ubuntu3.2) ...
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: php5-curl 5.3.10-1ubuntu3.2
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Mon Jul 16 16:35:42 2012
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: php5
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise
--
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/1025336
Title:
installing php5-curl reloads apache *before* it's set up
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1025336/+subscriptions
More information about the Ubuntu-server-bugs
mailing list