douhuang2218 2014-05-13 08:34
浏览 59
已采纳

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

We have MySQL version 5.1.73 runnning on our CentOS 5.9 server and want to install PHP 5.3. However, when I run yum install php53-mysql I get the following error message:

--> 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

Hours of googling have not yielded any results as it seems I'm the only one experiencing conflicts between PHP 5.3 and MySQL 5.1. It seems to me that PHP 5.3 wants to install MySQL 5.0 for some reason, but I'm not sure (very new to all this).

Any help would be greatly appreciated :-)

  • 写回答

1条回答 默认 最新

  • dsn46282 2014-05-13 10:38
    关注

    For any future googlers: Install PHP from the IUS repository: https://iuscommunity.org/pages/IUSClientUsageGuide.html :-)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题