MySQL Not Working With PHP after PHP Update [duplicate]

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 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 directly without affecting anything else?

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

Leave a Reply

Your email address will not be published. Required fields are marked *