PHP 7.1 as Software Collection
Version 7.1.0 Alpha 1 is released. It's now enter the stabilisation phase for the developpers, and the test phase for the users.
RPM of this upcoming version of PHP 7.1, are available in remi repository for Fedora 22, 23, 24 and Enterprise Linux 6, 7 (RHEL, CentOS, ...) in a fresh new Software Collection (php71) allowing its installation beside the system version.
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.
yum install php71
To 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/php71 tree, configuration under the /etc/opt/remi/php71 tree
- the Apache module, php71-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 (php70-php-fpm) is available, it listens on default port 9000, so you have to change the configuration if you want to use various FPM services simultaneously.
- the php71 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 7.1.0alpha1, but alpha/beta version should be released soon
lot ofnearly all the PECL extensions are already available, see the extensions status page
- only x86_64, no plan for other arch.
Also read other entries about SCL.
$ module load php71 $ php --version PHP 7.1.0alpha1 (cli) (built: Jun 8 2016 09:36:05) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
As always, your feedback is welcome, a SCL dedicated forum is open.
Software Collections (php71)