Updating PHP crashes site, MySQL claims to be missing but isn’t
-
I wanted to use a plugin that requires the latest version of PHP so I updated my PHP and the whole site went down.
When I go to the site, I see this error message:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
Please check that the
mysqli
PHP extension is installed and enabled.If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress support forums.
In cPanel, installing the mysqli plugin is as simple as checking a box. To be sure, I unchecked it to uninstall it and rechecked it to reinstall. So even though according to my web host I have it, the error message says I don’t and the site goes down completely (no back end, no front end, no css, just that message).
I also tested to see if this error was related to my plugins and theme so I put the site in maintenance mode, turned off all the plugins and switched to twenty twenty three theme. Even in this context, I still get this message when I upgrade PHP to 8.0 or 8.2.
What I don’t understand is how so many people are able to use a plugin that requires 8.0 (Convert to Blocks plugin) if 8.0 crashes WP with no plugins and the default theme.
The page I need help with: [log in to see the link]
- The topic ‘Updating PHP crashes site, MySQL claims to be missing but isn’t’ is closed to new replies.