mysql-community-libs-5.6.31-2.el7.x86_64
mysql-community-release-el7-5.noarch
mysql-community-common-5.6.31-2.el7.x86_64
mysql-community-server-5.6.31-2.el7.x86_64
mysql-community-client-5.6.31-2.el7.x86_64
mysql-community-devel-5.6.31-2.el7.x86_64
php版本为5.4.6,httpd为centos自带appach
用<?php phpinfo(); ?>良好
php中调用
mysql_connect时出错
单独运行mysql正常。在/usr/lib64/php/module/中找不到mysql.so。请大神帮忙解答下。
1 个解决方案
#1
yum -y install php-mysql
#1
yum -y install php-mysql