Our mediawiki servers in production use PHP 7.2, but we currently still have a mix of PHP 7.0 packages installed. There are some pinning/dependency issues to be resolved: After a reimage of mwdebug2001 not all packages are up-to-date: php-cli, php-mbstring and php-xml are not in the most current version and pending an upgrade despite the server being freshly reimaged:
jmm@mwdebug2001:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: php-cli php-mbstring php-xml 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 18.8 kB of archives.
jmm@mwdebug2001:~$ dpkg -l php-cli Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================-=======================-=======================-============================================================================== ii php-cli 1:7.0+49 all command-line interpreter for the PHP scripting language (default) jmm@mwdebug2001:~$ apt-cache show php-cli=1:7.0+49 Package: php-cli Source: php-defaults (49) Version: 1:7.0+49 Installed-Size: 12 Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org> Architecture: all Depends: php7.0-cli Description-en: command-line interpreter for the PHP scripting language (default) This package provides the /usr/bin/php command interpreter, useful for testing PHP scripts from a shell or performing general shell scripting tasks. . PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. . This package is a dependency package, which depends on Debian's default PHP version (currently 7.0). Description-md5: 566e36ddf36c48af1178c2f11883d22e Section: php Priority: optional Filename: pool/main/p/php-defaults/php-cli_7.0+49_all.deb Size: 5098 MD5sum: a5af1235ab53f2354569dd850a95b6f1 SHA256: ac49273ef23d3c3b30910dc456cc19e0a2a0371d3e50be926ec7cab5b5d48a5e
jmm@mwdebug2001:~$ dpkg -l php-mbstring Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================-=======================-=======================-============================================================================== ii php-mbstring 1:7.0+49 all MBSTRING module for PHP [default] jmm@mwdebug2001:~$ apt-cache show php-mbstring=1:7.0+49 Package: php-mbstring Source: php-defaults (49) Version: 1:7.0+49 Installed-Size: 12 Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org> Architecture: all Depends: php-common, php7.0-mbstring Description-en: MBSTRING module for PHP [default] This package provides a MBSTRING module for PHP. . PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. . This package is a dependency package, which depends on Debian's default PHP version (currently 7.0). Description-md5: 493eab94dd677d33dfa33072a2962018 Section: php Priority: optional Filename: pool/main/p/php-defaults/php-mbstring_7.0+49_all.deb Size: 5058 MD5sum: 0fe23943ed8e7065c6677b23a7d470bf SHA256: ba88d314673c12caa148cdee7a5db23168b73a5aaa22cc556511493111f4e71
jmm@mwdebug2001:~$ dpkg -l php-xml Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================-=======================-=======================-============================================================================== ii php-xml 1:7.0+49 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default] jmm@mwdebug2001:~$ jmm@mwdebug2001:~$ apt-cache show php-xml=1:7.0+49 Package: php-xml Source: php-defaults (49) Version: 1:7.0+49 Installed-Size: 12 Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org> Architecture: all Depends: php-common, php7.0-xml Description-en: DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default] This package provides a DOM, SimpleXML, WDDX, XML, and XSL module for PHP. . PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. . This package is a dependency package, which depends on Debian's default PHP version (currently 7.0). Description-md5: b6916d9a5ce994a284ac90be10291474 Section: php Priority: optional Filename: pool/main/p/php-defaults/php-xml_7.0+49_all.deb Size: 5068 MD5sum: 07bb356bf7e0f53ab4f77a36ef2e9d07 SHA256: 5c790983e5dfc7217f0c8ee20ad55a0e27399dfd1306c1a378659156c5fae16a