yum install php-mysql unable to install Centos

怎甘沉沦 提交于 2019-11-29 04:49:13

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

The obvious problem is that you don't have a repository with PHP installed. It's odd that base doesn't have one but you can fix this by installing the remi repository, which has PHP 5.4 through 5.6 (just enable the version you want)

I would highly suggest installing php-mysqlnd instead of php-mysql, as that is the native driver and does not require any mysqlclientXX libraries, which are a mess to maintain.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!