Friday, July 24, 2020

Wordpress error - MySQL extension error after PHP upgrade

When I tried to update PHP version on my shared hosting server from PHP5 to PHP7, my wordpress sites started to give the following error:

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.


To solve it, I had to update the .htaccess file in public_html folder with the following line:

AddHandler application/x-httpd-ea-php73 .php .php7 .phtml

2 comments:

  1. Thanks for give us valuable information If you are Looking for WordPress Support , visit on
    WordPress Support

    ReplyDelete
  2. Very Helpful. Thanks for such Information
    WordPress Support

    ReplyDelete