Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Since I upgraded from 5.0 version to 5.5 I am getting the following error on my PHP page.

None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available.

When I tried to install php-mysql package, I got the following error.

# yum install php-mysql --skip-broken

Packages skipped because of dependency problems:
    mysql-5.0.77-4.el5_4.2.x86_64 from base
    php-mysql-5.1.6-27.el5.x86_64 from base

This was working as expected when I had 5.0 version of MySQL. How do I upgrade the php extension?

share|improve this question

migrated from Aug 16 '11 at 15:50

This question came from our site for professional and enthusiast programmers.

After installing mysql shared compact library, this was working as expected

rpm -ihv MySQL-shared-compat-5.5.24-1.el6.x86_64.rpm
yum install php-mysql --skip-broken
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .