We have MySQL database on CentOS 5.11. There was a requirement to deploy WordPress source for a website. PHP version was 5.1 which wasn’t supported by WordPress so I updated PHP to the version 5.3. I didn’t change MySQL in any way and is accessible through Toad and SSH Secure Shell.

Now, when I try to access the pages through browser, I get the error “Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”

mysql section isn’t appearing in the info displayed through phpinfo() and mysql.so and mysql.dll are missing on the server. I have tried to install them through yum install php-mysql but that gives errors of conflicts with existing MySQL libraries. Is there any way to bypass these conflicts and install mysql.so directly without affecting anything else?

Read more here: MySQL Not Working With PHP after PHP Update [duplicate]


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: