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

Avatar
  • updated
  • Answered

How can I fix this: 

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

June

Avatar
JT S.
Quote from john wynn

Resolved by Support.  Problem w/ PHP.ini.  Thanks for your help.

Glad you got a resolution to your issue. Remember that we don't monitor this outside of 9AM-5PM Monday through Friday.
Avatar
john wynn
Quote from john wynn

Same problem.

Warning: Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in /home/xxxxxxx/public_html/wp-includes/load.php on line 115

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

Try all variations of PHP version.

From phpinfo() page, PHP is currently at: 

PHP Version 7.3.21

Searching for "Client API" or "mySQLi" yields no result.  What to check for next?

Thanks,

Resolved by Support.  Problem w/ PHP.ini.  Thanks for your help.

Avatar
john wynn

Same problem.

Warning: Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in /home/xxxxxxx/public_html/wp-includes/load.php on line 115

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

Try all variations of PHP version.

From phpinfo() page, PHP is currently at: 

PHP Version 7.3.21

Searching for "Client API" or "mySQLi" yields no result.  What to check for next?

Thanks,

Avatar
JT S.
  • Answered

Hello and thanks for contacting us. Have you tried updating your PHP version in cPanel?