Multi Version Support for PHP in Mageia 9

We are proud to announce the introduction of multi version support for php in mageia 9.

Now php 8.3 can be installed in parallel to the existing php 8.2 packages. Due to this, we also update the pecl packages as they would interfere with the process.
Please note, that the default configuration is used by both versions. In order to prevent warnings, all packages from php 8.2 have to be installed for php 8.3 too.

Update notice:
If you have installed php 8.2, and want to install the same packages, use

rpm -qa '*php*' --qf '%{name}\n'|sed 's/php/php8.3/'|\
xargs urpmi --auto

Remember that for the command to work you must have backports repositories enabled.

List of package that are available in 9/core/backports

apache-mod_php8.3-8.3.4-4.mga9
php-latest-8.3.4-4.mga9
php8.3-amqp-2.1.1-2.mga9
php8.3-apcu-5.1.23-5.mga9
php8.3-apcu-admin-5.1.23-5.mga9
php8.3-ast-1.1.1-2.mga9
php8.3-bcmath-8.3.4-4.mga9
php8.3-bitset-3.0.1-18.mga9
php8.3-bz2-8.3.4-4.mga9
php8.3-calendar-8.3.4-4.mga9
php8.3-cgi-8.3.4-4.mga9
php8.3-cli-8.3.4-4.mga9
php8.3-ctype-8.3.4-4.mga9
php8.3-curl-8.3.4-4.mga9
php8.3-dba-8.3.4-4.mga9
php8.3-dbase-7.0.1-13.mga9
php8.3-devel-8.3.4-4.mga9
php8.3-dio-0.2.1-8.mga9
php8.3-doc-8.3.4-4.mga9
php8.3-dom-8.3.4-4.mga9
php8.3-ds-1.5.0-2.mga9
php8.3-enchant-8.3.4-4.mga9
php8.3-event-3.1.0-2.mga9
php8.3-exif-8.3.4-4.mga9
php8.3-expect-0.4.0-10.mga9
php8.3-fileinfo-8.3.4-4.mga9
php8.3-filter-8.3.4-4.mga9
php8.3-fpm-8.3.4-4.mga9
php8.3-fpm-apache-8.3.4-4.mga9
php8.3-fpm-nginx-8.3.4-4.mga9
php8.3-ftp-8.3.4-4.mga9
php8.3-gd-8.3.4-4.mga9
php8.3-gender-1.1.0-21.mga9
php8.3-gettext-8.3.4-4.mga9
php8.3-gmagick-2.0.6-0.RC1.9.mga9
php8.3-gmp-8.3.4-4.mga9
php8.3-gnupg-1.5.1-8.mga9
php8.3-iconv-8.3.4-4.mga9
php8.3-igbinary-3.2.15-2.mga9
php8.3-imagick-3.7.0-10.mga9
php8.3-imap-8.3.4-4.mga9
php8.3-ini-8.3.4-4.mga9
php8.3-inotify-3.0.0-9.mga9
php8.3-intl-8.3.4-4.mga9
php8.3-jsmin-3.0.0-19.mga9
php8.3-ldap-8.3.4-4.mga9
php8.3-mailparse-3.1.6-3.mga9
php8.3-mbstring-8.3.4-4.mga9
php8.3-mcrypt-1.0.7-2.mga9
php8.3-memcached-3.2.0-6.mga9
php8.3-mongodb-1.17.2-2.mga9
php8.3-msgpack-2.2.0-4.mga9
php8.3-mysqli-8.3.4-4.mga9
php8.3-mysqlnd-8.3.4-4.mga9
php8.3-odbc-8.3.4-4.mga9
php8.3-opcache-8.3.4-4.mga9
php8.3-openssl-8.3.4-4.mga9
php8.3-pcntl-8.3.4-4.mga9
php8.3-pdo-8.3.4-4.mga9
php8.3-pdo_dblib-8.3.4-4.mga9
php8.3-pdo_firebird-8.3.4-4.mga9
php8.3-pdo_mysql-8.3.4-4.mga9
php8.3-pdo_odbc-8.3.4-4.mga9
php8.3-pdo_pgsql-8.3.4-4.mga9
php8.3-pdo_sqlite-8.3.4-4.mga9
php8.3-pear-1.10.14-3.mga9
php8.3-pgsql-8.3.4-4.mga9
php8.3-phar-8.3.4-4.mga9
php8.3-posix-8.3.4-4.mga9
php8.3-pspell-1.0.1-2.mga9
php8.3-raphf-2.0.1-9.mga9
php8.3-readline-8.3.4-4.mga9
php8.3-redis-6.0.2-2.mga9
php8.3-rrd-2.0.3-9.mga9
php8.3-session-8.3.4-4.mga9
php8.3-shmop-8.3.4-4.mga9
php8.3-snmp-8.3.4-4.mga9
php8.3-soap-8.3.4-4.mga9
php8.3-sockets-8.3.4-4.mga9
php8.3-sodium-8.3.4-4.mga9
php8.3-sqlite3-8.3.4-4.mga9
php8.3-ssh2-1.4-3.mga9
php8.3-sysvmsg-8.3.4-4.mga9
php8.3-sysvsem-8.3.4-4.mga9
php8.3-sysvshm-8.3.4-4.mga9
php8.3-tidy-8.3.4-4.mga9
php8.3-tokenizer-8.3.4-4.mga9
php8.3-translit-0.7.1-10.mga9
php8.3-uuid-1.2.0-10.mga9
php8.3-xattr-1.4.0-11.mga9
php8.3-xdebug-3.3.1-2.mga9
php8.3-xmlreader-8.3.4-4.mga9
php8.3-xmlwriter-8.3.4-4.mga9
php8.3-xsl-8.3.4-4.mga9
php8.3-yaml-2.2.3-3.mga9
php8.3-zip-8.3.4-4.mga9
php8.3-zlib-8.3.4-4.mga9
php8.3-zstd-0.13.1-2.mga9
phpdbg8.3-8.3.4-4.mga9

SRPMS:
php-8.3.4-4.mga9.src.rpm
php-amqp-2.1.1-2.mga9.src.rpm
php-apcu-5.1.23-5.mga9.src.rpm
php-ast-1.1.1-2.mga9.src.rpm
php-bitset-3.0.1-18.mga9.src.rpm
php-dbase-7.0.1-13.mga9.src.rpm
php-dio-0.2.1-8.mga9.src.rpm
php-ds-1.5.0-2.mga9.src.rpm
php-event-3.1.0-2.mga9.src.rpm
php-expect-0.4.0-10.mga9.src.rpm
php-gender-1.1.0-21.mga9.src.rpm
php-gmagick-2.0.6-0.RC1.9.mga9.src.rpm
php-gnupg-1.5.1-8.mga9.src.rpm
php-igbinary-3.2.15-2.mga9.src.rpm
php-imagick-3.7.0-10.mga9.src.rpm
php-inotify-3.0.0-9.mga9.src.rpm
php-jsmin-3.0.0-19.mga9.src.rpm
php-mailparse-3.1.6-3.mga9.src.rpm
php-mcrypt-1.0.7-2.mga9.src.rpm
php-memcached-3.2.0-6.mga9.src.rpm
php-mongodb-1.17.2-2.mga9.src.rpm
php-msgpack-2.2.0-4.mga9.src.rpm
php-pear-1.10.14-3.mga9.src.rpm
php-pspell-1.0.1-2.mga9.src.rpm
php-raphf-2.0.1-9.mga9.src.rpm
php-redis-6.0.2-2.mga9.src.rpm
php-rrd-2.0.3-9.mga9.src.rpm
php-ssh2-1.4-3.mga9.src.rpm
php-translit-0.7.1-10.mga9.src.rpm
php-uuid-1.2.0-10.mga9.src.rpm
php-xattr-1.4.0-11.mga9.src.rpm
php-xdebug-3.3.1-2.mga9.src.rpm
php-yaml-2.2.3-3.mga9.src.rpm
php-zstd-0.13.1-2.mga9.src.rpm

We will announce on backports-announce@ml.mageia.org when new backports are available for testing and when they be promoted to backports repository, We are still tuning the process and the format for the announces.

Let us know what you think.

P.S: Some corrections received were applied to the suggested command to install the php 8.3 packages from the php 8.2 packages installed on your system.

This entry was posted in Uncategorized. Bookmark the permalink.

Curious about Mageia? Download it, give it a try and tell us how you feel about it.

Want to bring something to it? Learn how you can contribute and donate.

6 Responses to Multi Version Support for PHP in Mageia 9

  1. Pingback: Soporte Multi Versión para PHP en Mageia 9 | Mageia Blog (Español)

  2. Thanks! I’m very interested, but the given command (rpm -qa php –qf ‘%{name}\n’|sed ‘s/php/php8.3/’|urpmi –auto) does not work as it is written. I think some markdown/wikitext syntax removed some characters from it and I can’t seem to fix it… Can you please check? Thanks a lot!