PHP 5.6 by Software Collections
rh-php56 - A release of PHP with PEAR 1.9.5 and enhanced language features including constant expressions, variadic functions, arguments unpacking, and the interactive debugger. The memcache, mongo, and XDebug extensions are also included.
This collection is EOL since April 2018.
Project homepage 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 rh-php56
# 3. Start using the software collection:
$ 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\*
PHP Software Collection as Docker Formatted Container
On CentOS 7 and RHEL 7 you can pull the image with the following command:
$ docker pull rhscl/php-56-rhel7
For more on the docker image follow the link to public source repository: https://github.com/sclorg/s2i-php-container
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.
Related software collections
Some packages from this collection require packages provided by these collections:
This collection provides packages, which may be required by some package from these collections:
Yum Repositories
June 29, 2015, 8:33 a.m.
Operating system | Package with repo | Browse files |
---|---|---|
CentOS 6.9 | x86_64 | |
CentOS 7.4.1708 | 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