I am pleased to announce the immediate availability of versions 5.4, 5.5 and 5.6 of the PHP on CentOS Linux 7 x86_64, delivered via a Software Collection (SCL) built by the SCLo Special Interest Group (https://wiki.centos.org/SpecialInterestGroup/SCLo).
QuickStart ---------- You can get started in three easy steps (example of PHP 5.6): $ sudo yum install centos-release-scl $ sudo yum install rh-php56 $ scl enable rh-php56 bash
At this point you should be able to use php just as a normal application. Examples of commands run might be: $ php my-app.php $ sudo yum install rh-php56-php-devel yum install libxml2-devel $ sudo pear install Cache_Lite $ sudo pecl install xmldiff
In order to view the individual components included in this collection, including additional PHP modules, you can run: $ sudo yum list rh-php56*
About Software Collections -------------------------- Software Collections give you the power to build, install, and use multiple versions of software on the same system, without affecting system-wide installed packages. Each collection is delivered as a group of RPMs, with the grouping being done using the name of the collection as a prefix of all packages that are part of the software collection.
The collections php54, php55 and rh-php56 deliver versions 5.4, 5.5 and 5.6 of the PHP interpreter, pecl and perl installers and some other modules that are also included in the collections as RPMs.
For more on the PHP, see http://www.php.net.
The SCLo SIG in CentOS ---------------------- The Software Collections SIG group is an open community group co-ordinating the development of the SCL technology, and helping curate a reference set of collections. In addition to the PHP collections being released here, we also build and deliver databases, web servers, and language stacks including multiple versions of PostgreSQL, MariaDB, Apache HTTP Server, NodeJS, Ruby, Python and others.
Software Collections SIG release was announced at https://lists.centos.org/pipermail/centos-announce/2015-October/021446.html
You can learn more about Software Collections concepts at: http://softwarecollections.org You can find information on the SIG at https://wiki.centos.org/SpecialInterestGroup/SCLo ; this includes howto get involved and help with the effort.
We meet every second Wednesday at 16:00 UTC in #centos-devel (ref: https://www.centos.org/community/calendar), for an informal open forum open to anyone who might have comments, concerns or wants to get started with SCL's in CentOS.
Enjoy!
Honza SCLo SIG member