Mysql 不能与 PHP 一起使用(每个都可以单独使用,Mysql 可以与 perl 一起使用)。
我已将 extension=mysql.so
添加到 php.ini
在网上搜索后,我尝试了这两个命令
yum install php php-mysql httpd
yum install php-mysql php-gd
但是,这会导致:
mysql-5.0.95-1.el5_7.1.i386 from rhel-i386-server-5 has depsolving problems
--> mysql conflicts with MySQL-server
Error: mysql conflicts with MySQL-server
有什么建议吗?
最佳答案
安装 mysql-server 和 mysql-devel。
关于php - 在 RHEL 中安装 PHP mysql 扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9966924/