PHP 5.4 by Software Collections
php54 - A release of PHP with PEAR 1.9.4 and a number of additional extensions. PHP 5.4 provides a number of language and interface improvements. The memcache and Zend OPcache extensions are also included.
This collection is EOL since Oct 2016.
Report a bug in the issue trackerInstructions
You can get started in three easy steps:
# 1. Install a package with repository for your system:
# On CentOS, install package centos-release-scl available in CentOS repository:
$ sudo yum install centos-release-scl
# On RHEL, enable RHSCL repository for you system:
$ sudo yum-config-manager --enable rhel-server-rhscl-7-rpms
# 2. Install the collection:
$ sudo yum install php54
# 3. Start using the software collection:
$ scl enable php54 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 php54-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 php54\*
Policy
Community Project: Maintained by upstream communities of developers. The software is cared for, but the developers make no commitments to update the repositories in a timely manner.
Yum Repositories
June 9, 2015, 6:27 p.m.
Operating system | Package with repo | Browse files |
---|---|---|
CentOS 6 |
yum install centos-release-scl-rh |
x86_64 |
CentOS 7 |
yum install centos-release-scl-rh |
x86_64 |
RHEL 6 |
yum-config-manager --enable rhel-server-rhscl-6-rpms |
|
RHEL 7 |
yum-config-manager --enable rhel-server-rhscl-7-rpms |
Tags
Rating
Rated by 1 user