Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top