I heard that latest version packages related to LAMP for CentOS can be found in remi repository.
I googled and found more than one article (e.g. http://timt881.wordpress.com/2009/02/17/installing-phpmyadmin-and-php-52-on-a-centos-52-server/) suggesting the following steps in installing latest version of PHP from remi repository:
$ wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
$ wget http://rpms.famillecollet.com/el5.i386/remi-release-5-7.el5.remi.noarch.rpm
$ rpm -Uvh remi-release-5-7.el5.remi.noarch.rpm epel-release-5.3.noarch.rpm
$ yum –enablerepo=remi install php
However, there is something I don't understand. The LAMP packages are in remi repository, it makes sense to download and install the remi rpm.
But for the EPEL (Extra Packages for Enterprise Linux) rpm, why should it also be downloaded and installed if what's needed is already in the remi repository?