RPM of PHP version 5.6.13 are available in remi repository for Fedora ≥ 21 and remi-php56 repository for Fedora ≤ 20 and Enterprise Linux (RHEL, CentOS).
RPM of PHP version 5.5.29 are available in remi repository for Fedora ≤ 20 and in remi-php55 repository for Enterprise Linux.
RPM of PHP version 5.4.45 are available in remi repository Enterprise Linux.
These versions are also available as Software Collections.
These versions fix various security bugs, so update is strongly recommended.
Version announcements:
5.4.45 release is the last scheduled release. PHP 5.4 branch have reached its end of life really. This version still figures 50% of downloads, so it is urgent to plan an upgrade (to 5.6).
5.5.27 release was the last planned release that contains regular bugfixes. All the consequent releases contain only security-relevant fixes, for the term of one year (July 2016).
Installation : read the Repository configuration and choose your version and installation mode.
Replacement of default PHP by version 5.6 installation (simplest):
yum --enablerepo=remi-php56 update php\*
Parallel installation of version 5.6 as Software Collection (x86_64 only):
yum --enablerepo=remi install php56
Replacement of default PHP by version 5.5 installation (simplest):
yum --enablerepo=remi-php55 update php\*
Parallel installation of version 5.5 as Software Collection (x86_64 only):
yum --enablerepo=remi install php55
Replacement of default PHP by version 5.4 installation (enterprise only):
yum --enablerepo=remi update php\*
Parallel installation of version 5.4 as Software Collection (x86_64 only):
yum --enablerepo=remi install php54
And soon in the official updates:
To be noticed :
- EL7 rpm are build using RHEL-7.1
- EL6 rpm are build using RHEL-6.7
- a lot of new extensions are also available, see the PECL extension RPM status page
Information, read:
Base packages (php)
Software Collections (php54 - php55)