Yum install php-mysql
出现
from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL-server-5.6.13-1.linux_glibc2.5.x86_64
由于服务器先安装和配置好了MYSQL-SERVER
以后经过过程查找资料,终于找到了措置惩罚要发:那个要发不会破损你的数据库年夜概卸载你的Mysql5.5,你需求下载一个MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm,然后安装它;
那边给出链接:wget ftp://mirror.switch.ch/pool/1/mirror/mysql/Downloads/MySQL-6.0/MySQL-shared-compat-6.0.11-0.glibc23.x86_64.rpm
以后运转rpm -ivh MySQL-shared-compat-6.0.11-0.glibc23.x86_64.rpm>
安装好以后运转 yum install php-mysql便可以或许啦~~
方法可行。