EPEL

EPEL repository for RHEL-7 is open (still beta).

Installation:

wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.1.noarch.rpm
yum install epel-release-7-0.1.noarch.rpm

You now have a quite exhaustive PHP stack (version 5.4.16).

Notice, RHSCL 1.1 also provides php55 (version 5.5.6).

Remi

For the latest version addicts, of for additional extensions the remi repository is also open.

Installation :

wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum install remi-release-7.rpm

Than, you have the choice betwwen 3 versions:

  • PHP 5.4.29 in remi repository
  • PHP 5.5.13 in remi-php55 repository
  • PHP 5.6.0beta4 in remi-php56 repository

Notice : the RPM have been built against RHEL-7.0RC

CentOS 7 is building and should be available in a few days/weeks.