This recipe has always worked for me:
yum -y erase php-mcrypt php-mhash php-tidy php-pecl-memcache \ php-pecl-xdebug php-mysql
wget \ http://rpms.famillecollet.com/el5.i386/remi-release-5-7.el5.remi.noarch.rpm rpm -Uhv remi-release-5-7.el5.remi.noarch.rpm yum --enablerepo=remi -y update php mysql yum --enablerepo=remi -y install php-mcrypt php-tidy php-pecl-memcache yum --enablerepo=remi --disablerepo=epel -y install php-pecl-xdebug yum --enablerepo=remi -y install php-mysql yum --enablerepo=remi -y install php-devel php-gd php-imap php-mbstring yum --enablerepo=remi -y install php-odbc yum --enablerepo=remi -y install php-soap php-xml php-xmlrpc yum --enablerepo=remi -y install phpmyadmin yum --enablerepo=remi -y install php-pear -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
