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

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

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!