How to fix the “Your PHP installation appears to be missing the MySQL extension which is required by WordPress” Error on HostGator

This is an off-topic post, but many photographers use WordPress as the basis of their photography portfolios and photo blogs, so I am writing it anyway.

If you’re using HostGator and you tried to update your PHP version to the most recent one (like I did) and you thereby broke your entire WordPress blog (like I did), here’s a quick fix I found that will hopefully get everything working for you again.

Even though this is specifically for those of us using HostGator, it may work with other hosting platforms that use cPanel. Or you may be able to extrapolate a solution that works for you based on this information if you’re using different control panel software or a Linux distribution on your own server. Give it a shot if nothing else is working – but remember, you are doing this at your own risk and I am not responsible if you mess up your site even more.

Continue reading “How to fix the “Your PHP installation appears to be missing the MySQL extension which is required by WordPress” Error on HostGator”