The Remi repository brings a set of additional packages available at least for RHEL 7 and CentOS 7.
This is the best place to find all packages related to PHP (newest versions, extensions, etc).
There is a list of the available packages in the Remi repository.
To install the Remi repository (and, at the same time, the EPEL repository), type:
# yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
The Remi repository consists of 8 different channels (all disabled by default):
- remi: this is the main channel; it contains the php 5.4 packages,
- remi-php55: this channel provides the php 5.5 packages; the remi package also needs to be enabled,
- remi-php56: this channel brings the php 5.6 packages; the remi package also needs to be enabled,
- remi-test: this channel provides some testing packages; the remi package also needs to be enabled,
- remi-debuginfo: same as remi but with some debug information,
- remi-php55-debuginfo: same as remi-php55 but with some debug information,
- remi-php56-debuginfo: same as remi-php56 but with some debug information,
- remi-test-debuginfo: same as remi-test but with some debug information,
To permanently enable a channel (use the –disable option to disable), type:
# yum-config-manager --enable channel
To only enable a channel during a package installation, type:
# yum --enablerepo=channel install package
Source: Remi Collet’s website.