Debian Bug report logs -
#831807
php7.0: re-enables disabled SAPI modules on upgrade
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#831807; Package src:php7.0.
(Tue, 19 Jul 2016 16:45:09 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Anton Mitterer <calestyo@scientia.net>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Tue, 19 Jul 2016 16:45:09 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: php7.0
Severity: important
Hi.
At some point, php5 was nicely modified so that it doesn't
re-enable modules in the conf.d dirs, when these have been
disabled by the user before.
Apprently this is no longer the case, or at least they just
all re-apperead on upgrade to 7.0.8-5.
Previously, I had no(!) modules enabled in /etc/php/7.0/cgi/conf.d/
Cheers,
Chris.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply sent
to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility.
(Tue, 13 Dec 2016 15:45:03 GMT) (full text, mbox, link).
Notification sent
to Christoph Anton Mitterer <calestyo@scientia.net>:
Bug acknowledged by developer.
(Tue, 13 Dec 2016 15:45:03 GMT) (full text, mbox, link).
Message #10 received at 831807-done@bugs.debian.org (full text, mbox, reply):
Not an issue, works as expected on upgrades (--reinstall) and even after
removing (not purging).
You have to use phpdismod to disable modules and phpenmod to enable
modules again.
root@lettie:~# apt-get install php7.0-mbstring
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
php7.0-mbstring
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 466 kB of archives.
After this operation, 1509 kB of additional disk space will be used.
Get:1 http://ftp.cz.debian.org/debian unstable/main amd64
php7.0-mbstring amd64 7.0.14-1 [466 kB]
Fetched 466 kB in 0s (1489 kB/s)
debconf: delaying package configuration, since apt-utils is not
installed
Selecting previously unselected package php7.0-mbstring.
(Reading database ... 22384 files and directories currently installed.)
Preparing to unpack .../php7.0-mbstring_7.0.14-1_amd64.deb ...
Unpacking php7.0-mbstring (7.0.14-1) ...
Setting up php7.0-mbstring (7.0.14-1) ...
Creating config file /etc/php/7.0/mods-available/mbstring.ini with new
version
root@lettie:~# ls -l /etc/php/7.0/cli/conf.d/*mbstring*
lrwxrwxrwx 1 root root 40 Dec 13 15:41
/etc/php/7.0/cli/conf.d/20-mbstring.ini ->
/etc/php/7.0/mods-available/mbstring.ini
*************
root@lettie:~# phpdismod mbstring
*************
root@lettie:~# ls -l /etc/php/7.0/cli/conf.d/*mbstring*
ls: cannot access '/etc/php/7.0/cli/conf.d/*mbstring*': No such file or
directory
root@lettie:~# apt-get --reinstall install php7.0-mbstring
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
upgraded.
Need to get 0 B/466 kB of archives.
After this operation, 0 B of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not
installed
(Reading database ... 22393 files and directories currently installed.)
Preparing to unpack .../php7.0-mbstring_7.0.14-1_amd64.deb ...
Unpacking php7.0-mbstring (7.0.14-1) over (7.0.14-1) ...
Setting up php7.0-mbstring (7.0.14-1) ...
******
WARNING: Not enabling the mbstring module for PHP 7.0 cli SAPI since the
module
WARNING: was disabled by local administrator.
******
php_invoke mbstring: no action - module was disabled by maintainer for
PHP 7.0 cli sapi
root@lettie:~# ls -l /etc/php/7.0/cli/conf.d/*mbstring*
ls: cannot access '/etc/php/7.0/cli/conf.d/*mbstring*': No such file or
directory
root@lettie:~# dpkg --remove php7.0-mbstring
(Reading database ... 22393 files and directories currently installed.)
Removing php7.0-mbstring (7.0.14-1) ...
root@lettie:~# apt-get install php7.0-mbstring
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
php7.0-mbstring
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/466 kB of archives.
After this operation, 1509 kB of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not
installed
Selecting previously unselected package php7.0-mbstring.
(Reading database ... 22384 files and directories currently installed.)
Preparing to unpack .../php7.0-mbstring_7.0.14-1_amd64.deb ...
Unpacking php7.0-mbstring (7.0.14-1) ...
Setting up php7.0-mbstring (7.0.14-1) ...
******
WARNING: Not enabling the mbstring module for PHP 7.0 cli SAPI since the
module
WARNING: was disabled by local administrator.
******
php_invoke mbstring: no action - module was disabled by maintainer for
PHP 7.0 cli sapi
root@lettie:~# ls -l /etc/php/7.0/cli/conf.d/*mbstring*
ls: cannot access '/etc/php/7.0/cli/conf.d/*mbstring*': No such file or
directory
--
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 11 Jan 2017 07:25:23 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 02:41:51 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.