yum install php-mysql unable to install Centos

Systems Party picture Systems Party · Sep 16, 2014 · Viewed 14.8k times · Source

I am having difficulty installing php-mysql, I do the following:

yum -y install php-mysql

but get the following:

Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: centos.escapemg.com
 * extras: mirror.chpc.utah.edu
 * updates: mirrors.xmission.com
Setting up Install Process
No package php-mysql available.
Error: Nothing to do

I did a yum repolist disabled and enabled yum-config-manager --enable C6.1-base but still keep getting the same No package php-mysql available.

Answer

Systems Party picture Systems Party · Sep 16, 2014

I figured it out, it appeared that mysql in /etc/yum.conf there was a line exclude=mysql* php* once I commented it out, I was able to yum install mysqlnd. Thanks to everyone who