Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed PHP 5.4 from package (yum install php) and MySQL 5.6 from binaries (, but can't get get pdo_mysql enabled.

Running yum install php-mysql generates errors, because there is a newer version of MySQL already installed.

Running yum install pdo got me PDO and pdo_sqlite, but not pdo_mysql. There is no in php extensions directory

share|improve this question
up vote 2 down vote accepted

pdo_mysql is part of the php-mysql package. You can't install this package because you installed PHP binaries from a third party repository which were built against MySQL 5.5.

At the moment the only solution is to rebuild the php package yourself. No third party repos that I'm aware of provide PHP 5.4 built against MySQL 5.6.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.