Acceder como root e instalar Remi repository según tu Sistema linux.

su -

Fedora
## Remi Dependency on Fedora 20 / 19 / 18 / 17 ##

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm 
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

## Fedora 20 ##

rpm -Uvh

## Fedora 19 ##

rpm -Uvh

## Fedora 18 ##

rpm -Uvh

## Fedora 17 ##

rpm -Uvh

CentOS y Red Hat
## Remi Dependency on CentOS 6 and Red Hat (RHEL) 6 ##

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

## CentOS 6 and Red Hat (RHEL) 6 ##

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

## Remi Dependency on CentOS 5 and Red Hat (RHEL) 5 ##

rpm -Uvh

## CentOS 5 and Red Hat (RHEL) 5 ##

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

Instalar Apache (httpd) Web server y PHP 5.5.14

Fedora 20/19

yum --enablerepo=remi install httpd php php-common

Fedora 18/17

yum --enablerepo=remi,remi-test install httpd php php-common

CentOS 6.5/5.10 y Red Hat (RHEL) 6.5/5.10

yum --enablerepo=remi,remi-php55 install httpd php php-common

Instalar PHP 5.5.14 modulos APCu, CLI, PEAR, PDO, MySQL, PostgreSQL, MongoDB, SQLite, Memcache, Memcached, GD, MBString, MCrypt, XML

Fedora 20/19

yum --enablerepo=remi install php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml

Fedora 18/17

yum --enablerepo=remi,remi-test install php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml

CentOS 6.5/5.10 y Red Hat (RHEL) 6.5/5.10

yum --enablerepo=remi,remi-php55 install php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml

Start Apache HTTP server (httpd) y autostart Apache HTTP server (httpd) en boot de arranque.

/etc/init.d/httpd start ## use restart after update

## O ##

service httpd start ## use restart after update

## Fedora ##

systemctl enable httpd.service

## CentOS / RHEL ##

chkconfig --levels 235 httpd on

Activar Remote Connection de Apache HTTP Server (httpd) –> Abrir Web server Port (80) en Iptables Firewall1. CentOS/Red Hat (RHEL) 1.1 Edit /etc/sysconfig/iptables file:

nano -w /etc/sysconfig/iptables

1.2 Add following INPUT rule:

-A INPUT -m state state NEW -m tcp -p tcp dport 80 -j ACCEPT

1.3 Restart Iptables Firewall:

service iptables restart

## O ##

/etc/init.d/iptables restart

2. Fedora 2.1 Add New Rule to Firewalld

firewall-cmd permanent zone=public --add-service=http

## O ##

firewall-cmd permanent zone=public add port=80/tcp

2.2 Restart firewalld.service

systemctl restart firewalld.service

Y ahora a disfrutar de nuestro nuevo php.