使用MySQL 5.1在Centos 5.9上安装php5.3

时间:2014-05-13 08:34:16

标签: php mysql centos php-5.3 centos5

我们在CentOS 5.1.73服务器上运行MySQL版本5.9,并希望安装PHP 5.3。但是,当我运行yum install php53-mysql时,我收到以下错误消息:

--> Running transaction check
---> Package php53-mysql.x86_64 0:5.3.3-22.el5_10 set to be updated
--> Processing Dependency: php53-pdo for package: php53-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php53-mysql
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php53-mysql
--> Running transaction check
---> Package mysql.x86_64 0:5.0.95-5.el5_9 set to be updated
---> Package php53-pdo.x86_64 0:5.3.3-22.el5_10 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.95-5.el5_9.x86_64 from base has depsolving problems
  --> mysql conflicts with MySQL-server-community
Error: mysql conflicts with MySQL-server-community
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

谷歌搜索的时间没有产生任何结果,因为我似乎是唯一一个在PHP 5.3和MySQL 5.1之间遇到冲突的人。在我看来PHP 5.3由于某种原因想要安装MySQL 5.0,但我不确定(对所有这些都很新)。

非常感谢任何帮助: - )

1 个答案:

答案 0 :(得分:0)

对于任何未来的googlers:从IUS存储库安装PHP:https://iuscommunity.org/pages/IUSClientUsageGuide.html: - )