[php-maint] Bug#752102: [php5] "php5_invoke [...]: already enabled for [...] SAPI" displayed (upgrades)
Filipus Klutiero
chealer at gmail.com
Thu Jun 19 15:42:15 UTC 2014
Package: php5
Version: 5.6.0~beta4+dfsg-4
Severity: minor
The package seems to use some function to enable modules, at least during upgrades. This function apparently doesn't expect to be called for an already enabled module. Although I barely use PHP on this system, I have 2 SAPIs and enough modules to have a pretty ugly output for a simple PHP upgrade:
> # LANG=C apt-get -tsid install php5
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
> libapache2-mod-php5 php5-cli php5-common php5-gd php5-mcrypt php5-mysql
> Suggested packages:
> php-pear php5-user-cache
> Recommended packages:
> php5-readline
> The following packages will be upgraded:
> libapache2-mod-php5 php5 php5-cli php5-common php5-gd php5-mcrypt php5-mysql
> 7 upgraded, 0 newly installed, 0 to remove and 151 not upgraded.
> Need to get 241 kB/4921 kB of archives.
> After this operation, 418 kB of additional disk space will be used.
> Do you want to continue? [Y/n]
> Get:1 http://debian.mirror.rafal.ca/debian/ unstable/main php5-common i386 5.6.0~beta4+dfsg-4 [239 kB]
> Get:2 http://debian.mirror.rafal.ca/debian/ unstable/main php5 all 5.6.0~beta4+dfsg-4 [1324 B]
> Fetched 64.4 kB in 0s (234 kB/s)
> sh: 1: gcc: not found 14%
> dpkg-architecture: warning: couldn't determine gcc system type, falling back to default (native compilation)
> Reading changelogs... Done
> (Reading database ... 126404 files and directories currently installed.)
> Preparing to unpack .../php5-mysql_5.6.0~beta4+dfsg-4_i386.deb ...
> Unpacking php5-mysql (5.6.0~beta4+dfsg-4) over (5.6.0~beta4+dfsg-3) ...
> Preparing to unpack .../php5-mcrypt_5.6.0~beta4+dfsg-4_i386.deb ...
> Unpacking php5-mcrypt (5.6.0~beta4+dfsg-4) over (5.6.0~beta4+dfsg-3) ...
> Preparing to unpack .../php5-cli_5.6.0~beta4+dfsg-4_i386.deb ...
> Unpacking php5-cli (5.6.0~beta4+dfsg-4) over (5.6.0~beta4+dfsg-3) ...
> Preparing to unpack .../libapache2-mod-php5_5.6.0~beta4+dfsg-4_i386.deb ...
> Unpacking libapache2-mod-php5 (5.6.0~beta4+dfsg-4) over (5.6.0~beta4+dfsg-3) ...
> Preparing to unpack .../php5-gd_5.6.0~beta4+dfsg-4_i386.deb ...
> Unpacking php5-gd (5.6.0~beta4+dfsg-4) over (5.6.0~beta4+dfsg-3) ...
> Preparing to unpack .../php5-common_5.6.0~beta4+dfsg-4_i386.deb ...
> Unpacking php5-common (5.6.0~beta4+dfsg-4) over (5.6.0~beta4+dfsg-3) ...
> Preparing to unpack .../php5_5.6.0~beta4+dfsg-4_all.deb ...
> Unpacking php5 (5.6.0~beta4+dfsg-4) over (5.6.0~beta4+dfsg-3) ...
> Processing triggers for man-db (2.6.7.1-1) ...
> Setting up php5-common (5.6.0~beta4+dfsg-4) ...
> php5_invoke pdo: already enabled for apache2 SAPI
> php5_invoke pdo: already enabled for cli SAPI
> php5_invoke opcache: already enabled for apache2 SAPI
> php5_invoke opcache: already enabled for cli SAPI
> Setting up php5-mysql (5.6.0~beta4+dfsg-4) ...
> php5_invoke mysql: already enabled for apache2 SAPI
> php5_invoke mysql: already enabled for cli SAPI
> php5_invoke mysqli: already enabled for apache2 SAPI
> php5_invoke mysqli: already enabled for cli SAPI
> php5_invoke pdo_mysql: already enabled for apache2 SAPI
> php5_invoke pdo_mysql: already enabled for cli SAPI
> Setting up php5-mcrypt (5.6.0~beta4+dfsg-4) ...
> php5_invoke mcrypt: already enabled for apache2 SAPI
> php5_invoke mcrypt: already enabled for cli SAPI
> Setting up php5-cli (5.6.0~beta4+dfsg-4) ...
> php5_invoke json: already enabled for cli SAPI
> php5_invoke mysql: already enabled for cli SAPI
> php5_invoke mysqli: already enabled for cli SAPI
> php5_invoke pdo_mysql: already enabled for cli SAPI
> php5_invoke mcrypt: already enabled for cli SAPI
> php5_invoke gd: already enabled for cli SAPI
> php5_invoke pdo: already enabled for cli SAPI
> php5_invoke opcache: already enabled for cli SAPI
> Setting up libapache2-mod-php5 (5.6.0~beta4+dfsg-4) ...
> php5_invoke json: already enabled for apache2 SAPI
> php5_invoke mysql: already enabled for apache2 SAPI
> php5_invoke mysqli: already enabled for apache2 SAPI
> php5_invoke pdo_mysql: already enabled for apache2 SAPI
> php5_invoke mcrypt: already enabled for apache2 SAPI
> php5_invoke gd: already enabled for apache2 SAPI
> php5_invoke pdo: already enabled for apache2 SAPI
> php5_invoke opcache: already enabled for apache2 SAPI
> apache2_invoke php5: already enabled
> [....] Restarting web server: apache2AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
> . ok
> Setting up php5-gd (5.6.0~beta4+dfsg-4) ...
> php5_invoke gd: already enabled for apache2 SAPI
> php5_invoke gd: already enabled for cli SAPI
> Setting up php5 (5.6.0~beta4+dfsg-4) ...
> Processing triggers for libapache2-mod-php5 (5.6.0~beta4+dfsg-4) ...
> root at vinci:/home/chealer#
--
Filipus Klutiero
http://www.philippecloutier.com
More information about the pkg-php-maint
mailing list