install scripts problem php-mysql php-5 mysql

I am trying to install phpmyadmin on a new VPS onto which I have migrated my VMs from a dedicated server.

Old server was i386 5.6 Centos with 5.2.17 PHP and 2.2.3 New server is x64 with same software

rpm -qa | grep php-mysql

php-mysql-5.2.17-1.el5.vmbleed

Script Installer says:

PHP module mysql is required .. Installing package php5-mysql .. Installing package(s) with command yum -y install php5-mysql .. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.ncsa.illinois.edu * extras: mirrors.serveraxis.net * updates: centos.mirrors.tds.net Setting up Install Process No package php5-mysql available. Nothing to do .. install complete. Module is not available even after installation!

Status: 
Active

Comments

That may be a bug in the install script. It looks like it's looking for a package named "php5-mysql", where on CentOS, it should be "php-mysql".

To get around that problem, try running this command:

yum install php-mysql

If that resolves the issue you're seeing, we can pass this over to Jamie to tweak the Install Script.