php54-mysql conflicts with php54-mysqlnd

Asked by James

I'm having trouble setting up PHP 5.4. All of the other modules have installed fine, except for php54-mysql, which gives the following error when trying to install via Yum:

Resolving Dependencies
--> Running transaction check
---> Package php54-mysql.x86_64 0:5.4.5-1.ius.el5 set to be updated
--> Processing Conflict: php54-mysql conflicts php54-mysqlnd
--> Finished Dependency Resolution
php54-mysql-5.4.5-1.ius.el5.x86_64 from ius has depsolving problems
  --> php54-mysql conflicts with php54-mysqlnd
Error: php54-mysql conflicts with php54-mysqlnd

I'm not experience with Linux, so I've hit a wall in terms of trying to figure out what it's telling me or how I can fix it. Googling the issue didn't turn up anything useful, either.

What is the problem and how can I begin to resolve it?

Question information

Language:
English Edit question
Status:
Solved
For:
IUS Community Project Edit question
Assignee:
No assignee Edit question
Solved by:
Jeffrey Ness
Solved:
Last query:
Last reply:
Revision history for this message
Best Jeffrey Ness (jeffrey-ness) said :
#1

Hello James,

The above message you are seeing is valid, the mysql module and mysqlnd module conflict with each other.

You will need to choose which mysql module you wish to use (mysqlnd is the native lib provided by MySQL):

    http://php.net/manual/en/ref.mysql.php
    http://dev.mysql.com/downloads/connector/php-mysqlnd/

Revision history for this message
James (pudulike) said :
#2

Hi Jeffrey,

Thanks for the reply.

So according to the link on MySQL.com, php-mysqlnd is now the 'default' module, rather than php-mysql.

Revision history for this message
James (pudulike) said :
#3

Thanks Jeffrey Ness, that solved my question.