Your message dated Mon, 11 May 2020 13:50:07 +0000
with message-id <[email protected]>
and subject line Bug#959742: fixed in php-defaults 76
has caused the Debian Bug report #959742,
regarding php-defaults: Mismatch between php-cli version and /usr/bin/php
version
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
959742: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959742
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: php-defaults
Version: 2:7.3+69
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear Maintainer,
Problem:
Mediawiki is not installable in testing (via FreedomBox). After running `apt
install mediawiki` running `php /usr/share/mediawiki/maintenance/install.php
...` throws the following error:
Error: Missing one or more required components of PHP.
You are missing a required extension to PHP that MediaWiki needs.
Please install:
* mbstring <https://secure.php.net/mbstring>
* xml <https://secure.php.net/xml>
PHP Warning: PHP Startup: Unable to load dynamic library 'apc.so' (tried:
/usr/lib/php/20190902/apc.so (/usr/lib/php/20190902/apc.so: undefined symbol:
zif_apcu_store), /usr/lib/php/20190902/apc.so.so
(/usr/lib/php/20190902/apc.so.so: cannot open shared object file: No such file
or directory)) in Unknown on line 0
Expectation:
mediawiki package already has dependency on php-xml and php-mbstring. So, these
packages should be found by the command 'php' and installation should proceed
without error.
Analysis:
It turns out that /usr/bin/php is pointing to PHP version 7.4. However, when
mediawiki depends on php-xml, php-mbstring etc, it is installing all the
libraries for PHP version 7.3, that is, php7.3-xml, php7.3-mbstring. PHP 7.4
would not have been installed on the system normally at all. However, mediawiki
depends on php-apcu which seems to bring in PHP 7.4 (don't know how, but
removing php7.4-common removes php-apcu).
Possible solution:
When all the php-* packages point a version of PHP, that is the version that
command line PHP in /usr/bin/php (and FPM socket, etc.) should point to. This
means that /usr/bin/php should not point to the latest version of PHP but the
version that php-defaults depends on. Then installing a PHP app via apt and
then using it via command line (or FPM) will work without problems.
Install packages on the system:
# dpkg -l mediawiki
ii mediawiki 1:1.31.7-1 all website engine for collaborative
work
# dpkg -l php*
ii php 2:7.3+69 all server-side, HTML-
embedded scripting language (default)
ii php-apcu 5.1.18+4.0.11-1+b1 amd64 APC User Cache for PHP
ii php-apcu-bc 1.0.5-2+b1 amd64 APCu Backwards
Compatibility Module
ii php-common 2:69 all Common files for PHP
packages
ii php-curl 2:7.3+69 all CURL module for PHP
[default]
ii php-fpm 2:7.3+69 all server-side, HTML-
embedded scripting language (FPM-CGI binary) (default)
ii php-intl 2:7.3+69 all Internationalisation
module for PHP [default]
ii php-mbstring 2:7.3+69 all MBSTRING module for PHP
[default]
ii php-sqlite3 2:7.3+69 all SQLite3 module for PHP
[default]
ii php-wikidiff2 1.10.0-1+b1 amd64 external diff engine for
mediawiki
ii php-xml 2:7.3+69 all DOM, SimpleXML, WDDX,
XML, and XSL module for PHP [default]
ii php7.3 7.3.15-3 all server-side, HTML-
embedded scripting language (metapackage)
ii php7.3-cli 7.3.15-3 amd64 command-line interpreter
for the PHP scripting language
ii php7.3-common 7.3.15-3 amd64 documentation, examples
and common module for PHP
ii php7.3-curl 7.3.15-3 amd64 CURL module for PHP
ii php7.3-fpm 7.3.15-3 amd64 server-side, HTML-
embedded scripting language (FPM-CGI binary)
ii php7.3-intl 7.3.15-3 amd64 Internationalisation
module for PHP
ii php7.3-json 7.3.15-3 amd64 JSON module for PHP
ii php7.3-mbstring 7.3.15-3 amd64 MBSTRING module for PHP
ii php7.3-opcache 7.3.15-3 amd64 Zend OpCache module for
PHP
ii php7.3-readline 7.3.15-3 amd64 readline module for PHP
ii php7.3-sqlite3 7.3.15-3 amd64 SQLite3 module for PHP
ii php7.3-xml 7.3.15-3 amd64 DOM, SimpleXML, WDDX,
XML, and XSL module for PHP
ii php7.4-cli 7.4.5-1 amd64 command-line interpreter
for the PHP scripting language
ii php7.4-common 7.4.5-1 amd64 documentation, examples
and common module for PHP
ii php7.4-json 7.4.5-1 amd64 JSON module for PHP
ii php7.4-opcache 7.4.5-1 amd64 Zend OpCache module for
PHP
ii php7.4-phpdbg 7.4.5-1 amd64 server-side, HTML-
embedded scripting language (PHPDBG binary)
ii php7.4-readline 7.4.5-1 amd64 readline module for PHP
- -- System Information:
Debian Release: 10.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8),
LANGUAGE=en_IN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE5xPDY9ZyWnWupXSBQ+oc/wqnxfIFAl6wZ/oRHHN1bmlsQG1l
ZGhhcy5vcmcACgkQQ+oc/wqnxfJTvRAAi/6FDaiyG300YIMMLYxntyte9J/7sHXE
3/7Miu/ewqx6yt2NBUiKTQPrN9mW2dP3F5cu3/ks5Yo4v7Aoh/ocJ9pu3xEnXcMU
igVqXVV5Yu0sIVZcVkAiFgah8shNas94Zw8802RA1k4F9JTUZD4LgKlnyZ+GMTWn
HN+rG4HDaf3nOohZbFKnGKvIGrKb29DcvhmCWU3FCXibqLIDNcmsMOKTJwnDxaHX
7akC6olw4KXT08XLQI5GeaDiasmViW2oZbIZnByqobysIosGCK/iHTXudHAocZrI
ZfWZVzFY+2HAL29BeoAD54neI0ahnXVdVwY88n6oTdzm/gbtP5D57QUhPNmSRjcv
BB4QU+DGijyhIwK1fDZRHQAY5ZvRewTAUopobgq4FgcoaICynkP4Uo6R0TjXk7pO
A/FC/gegzKkMm3kX4qx9YkPD5xHeC31RB+i3VjIZZtP8HUyofZ1+1XxMsT8uoLpH
uf4cGrGR7l7H1ycXk3qRV9pyulI8KjI/ecmoHI2IpB5X1nOXAAFysNYOZYQLvkJ+
WQPOIIkOsSOzlhdpdB8o9KF8rCS/js+LSrUX3/zPwJzyvwVyH/ENNkBibYq9SI9O
Op+d2s1Un6JfQr+g9hsD55vTitE6Ov1+CtEEzguczKqcGeeeHeOeTCR4OqtWBzqH
MMdA14dxKKs=
=qBWf
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Source: php-defaults
Source-Version: 76
Done: =?utf-8?b?T25kxZllaiBTdXLDvQ==?= <[email protected]>
We believe that the bug you reported is fixed in the latest version of
php-defaults, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ondřej Surý <[email protected]> (supplier of updated php-defaults package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 11 May 2020 15:22:18 +0200
Source: php-defaults
Architecture: source
Version: 76
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP Maintainers <[email protected]>
Changed-By: Ondřej Surý <[email protected]>
Closes: 911832 958423 958424 959742
Changes:
php-defaults (76) unstable; urgency=medium
.
* Register the default PHP version with highest priority;
* And make php-common Breaks all non-default versions of PHP
(Closes: #911832, #958423, #958424, #959742)
* Update policy version to be valid
Checksums-Sha1:
c46775935b59b142ad49f568484a298cc7348c6b 3391 php-defaults_76.dsc
84ec4156dba3f05398558d6be3290b0fbd7331fe 16556 php-defaults_76.tar.xz
ee6c70b9f68bf03e6eb617b57f6ca024cdbddf42 13973 php-defaults_76_amd64.buildinfo
Checksums-Sha256:
55f233554cc9a9de636a4786c1b5e99a3de52b69c1b33012c53423c480930bd2 3391
php-defaults_76.dsc
a01da5216053623782705319eb58030916b58f435b7e295ef96655fd049dea19 16556
php-defaults_76.tar.xz
4194717cc138f917edacc54bcd22fa207edb4283b993dd49d343427da04c9759 13973
php-defaults_76_amd64.buildinfo
Files:
58c9807e6931cd41533c56c28ee3fd51 3391 php optional php-defaults_76.dsc
129e6946ce3fbfcaad51978d3e5f2b58 16556 php optional php-defaults_76.tar.xz
563e14b6e367cad5c2cf044561b1dd09 13973 php optional
php-defaults_76_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEw2Gx4wKVQ+vGJel9g3Kkd++uWcIFAl65UhhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEMz
NjFCMUUzMDI5NTQzRUJDNjI1RTk3RDgzNzJBNDc3RUZBRTU5QzIACgkQg3Kkd++u
WcKeew//TE7Unyb/pHD6YaTF9r7FCudude89d6RbQeHc30JlyEUXJnwDA3w/DdF6
xVXBucJPW5xww4gwTccvNiBcGR1GCAo7pOdUiDyV8KffgfDPX/pRSwSUowC24giC
ny4zD55RTm/YlzxHHjTq18sflNY4KlNWf3Qzk1LC2bMouMSGQ702/qD9QdAv7Kzv
kt+lD6knofB6+vE3xPLSVlsCRGWaVJ11ybjpNoxD5r0Xu33AeQxdIAwbtJ++bLuG
fbGtaoED2B7RjIbXkI3W5kyIxMz/C7/zRVu8gY8WhasfXPJmBo1+OLutyIBnKlc+
Eq8hu5SgJWZwK1IOmK2k7R78PkWYzXo66jvRkn29jw/xZi/q0QPdwityyDmm9hH4
Bi/cGGyANOdGLtpFSZR6Cy2VPt8dhwaKg+9FrxJoOxGAI3daTBIWVCiPUfw50Suf
pBRnCk0FMYnWq23WeKcGnTJqkYjqtyIyvauQlDXkmv0lS83KQ76Hy100ddEtTaJz
qy6K2pNrsv+JQllP+7/Y6CTuEohmodJB2Q8PlFwPmnY6EVOKvoGQ+nQKb+aHA2L0
EizuM/zHOHDOlkzyb0lJjo+jUG4rd2KM67B0dC+AVIqHIQQ92piRbdGoVZ+N6O5R
DhL/ber4NPdnavb6myPXZ+0mCf8sMGQtCO+CGn0SRRnXQRBKzpE=
=r62f
-----END PGP SIGNATURE-----
--- End Message ---