As I strongly believe in SCL potential to provide a simple way to allow installation of various versions simultaneously, and as I think it is useful to offer this feature to allow developers to test their applications, to allow sysadmin to prepare a migration or simply to use this version for some specific application, I decide to create this new SCL.

I also plan to propose this new version as a Fedora 38 change (as F37 should be released a few weeks before PHP 8.2.0).

Installation :

yum install php82

emblem-important-2-24.pngTo be noticed:

  • the SCL is independant from the system, and doesn't alter it
  • this SCL is available in remi-safe repository (or remi for Fedora)
  • installation is under the /opt/remi/php82 tree, configuration under the /etc/opt/remi/php82 tree
  • EL-7: the Apache module, php82-php, is available, but of course, only one mod_php can be used (so you have to disable or uninstall any other, the one provided by the default "php" package still have priority)
  • the FPM service (php82-php-fpm) is available, listening on /var/opt/remi/php82/run/php-fpm/www.sock (port 9000 for EL-7)
  • the php82 command give a simple access to this new version, however the scl command is still the recommended way (or the module command).
  • for now, the collection provides 8.2.0alpha1, and alpha/beta/RC versions should be released in the next weeks
  • some of the PECL extensions are already available, see the extensions status page
  • traking issue #206 can be used to follow the work in progress on RPMS of PHP and extensions
  • the php82-syspaths package allows to use it as the system default version

emblem-notice-24.pngAlso read other entries about SCL. especially description of my My PHP workstation.

$ module load php82
$ php --version
PHP 8.2.0alpha1 (cli) (built: Jun  7 2022 15:53:41) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.2.0-dev, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.0alpha1, Copyright (c), by Zend Technologies

As always, your feedback is welcome, a SCL dedicated forum is open.

Software Collections (php82)