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

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

报告相同问题?

悬赏问题

  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊