I want to install/compile php with mysql.

I have removed php-5.1.6-27.el5 from our system. Because I installed it without mysql before.
How can I install php together with mysql.

# rpm -qa | grep mysql*
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-5.0.77-4.el5_4.2
mysql-server-5.0.77-4.el5_4.2
mysql-connector-odbc-3.51.26r1127-1.el5
#
# rpm -qa | grep php*
# rpm -qa | grep php
# 

I have downloaded php-5.3.6-4.el5.remi.i386.rpm
Do I need php source rpm or not.

# ls -l php*
-rw-r--r-- 1 root root 1403586 Aug  2 13:46 php-5.3.6-4.el5.remi.i386.rpm
-rw-r--r-- 1 root root 2767854 Aug  2 13:51 php-cli-5.3.6-4.el5.remi.i386.rpm
-rw-r--r-- 1 root root  993678 Aug  2 13:51 php-common-5.3.6-4.el5.remi.i386.rpm
-rw-r--r-- 1 root root   53879 Aug  2 14:16 php-ldap-5.3.6-4.el5.remi.i386.rpm
# 

Try
yum install php mysql
hope this will install both

I can't use command of yum. I have no license and repository.

I have installed below packages and its done.

libedit0-3.0-1.20090722cvs.el5.i386.rpm
mysql55-libs-5.5.12-1.ius.el5.i386.rpm
php-5.3.6-4.el5.remi.i386.rpm
php-cli-5.3.6-4.el5.remi.i386.rpm
php-common-5.3.6-4.el5.remi.i386.rpm
php-devel-5.3.6-4.el5.remi.i386.rpm
php-ldap-5.3.6-4.el5.remi.i386.rpm
php-mysql-5.3.6-4.el5.remi.i386.rpm
php-pdo-5.3.6-4.el5.remi.i386.rpm
# rpm -qa | grep php
php-cli-5.3.6-4.el5.remi
php-pdo-5.3.6-4.el5.remi
php-common-5.3.6-4.el5.remi
php-ldap-5.3.6-4.el5.remi
php-mysql-5.3.6-4.el5.remi
php-5.3.6-4.el5.remi
# 

use below the repo
Index of /centos

and try

Thanks for repository.
I installed successfully yesterday.

welcome