The Remi (Les RPM de Remi) repository provides the latest version of various software packages related to php and mysql for redhat based linux distros like centos, fedora and RHEL. It provides php, mysql, pecl packages, pear packages any many other open source/free php applications and libraries and many other php related packages. So its designed to assist in setting up apache+php based web servers with various kinds of open source applications. The default centos/fedora distros do no have the latest versions of these packages so repositories like Remi do the job.
The repository can be easily setup on CentOS/Fedora through the installer rpm which will setup the repository configuration.
Setup on CentOS 5.x/6.x
The Remi installer rpm file is available for both 5.x and 6.x versions of CentOS. The urls are as follows
CentOS 5.x - http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
CentOS 6.x - http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
On CentOS The Remi repository depends on the Epel repository which must be installed along with it, for it to work. If you already have epel repository setup then execute the following command
$ wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
$ rpm -Uvh remi-release-6*.rpm
If you do not already have Epel setup then run the following command. It will download the Epel installer file and install it along with Remi
Read full post here
How to setup Remi repository on CentOS 5/6 and Fedora 18/19/20