网上找到的基本上都是编译安装PHP,来支持mysql,其中可以通过安装php-mysql php-mysqli即可 yum -y install php-mysql php-mysqli 转载于:https://www.cnblogs.com/richarwoo/p/5408885.html