rh-php72 - A release of PHP 7.2 with PEAR 1.10, enhanced language features and performance improvement.

EL7 tests Build el7

Report a bug in the issue tracker

Instructions

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-php72

# 3. Start using the software collection:
$ scl enable rh-php72 bash

At this point you should be able to use php just as a normal application. Examples of commands run might be:

$ service rh-php72-php-fpm start
$ php my-app.php
$ sudo yum install rh-php72-php-devel
$ sudo 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-php72\*

PHP Software Collection as a Container Image

On CentOS 7 and RHEL 7 you can pull the image with one of the following commands, depending on which variant you prefer:

$ docker pull registry.access.redhat.com/rhscl/php-72-rhel7
$ docker pull centos/php-72-centos7

For more on the docker image follow the link to public source repository: https://github.com/sclorg/s2i-php-container

Documentation

PHP Documentation
Product Documentation for Red Hat Software Collections
PHP 7.2 Container Image in Red Hat Container Catalog
Using Red Hat Software Collections Container Images

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

Operating system Package with repo Browse files
CentOS 7

yum install centos-release-scl-rh

x86_64
RHEL 7

yum-config-manager --enable rhel-server-rhscl-7-rpms

Rating

Rated by 0 users

Report malicious content