PHP missing the MySQL extension
-
Hi, I’m just installing WordPress on Redhat Enterprise Linux version 7.2 using Apache 2.4.6, MySQL 5.7.16 and PHP version 7.0.10.
I have sudo/root access to this server.
I’ve been following the instructions at https://codex.www.ads-software.com/Installing_WordPress using /var/www/html/ as the directory where I extracted all the WordPress files to. I also set up a wp-config.php file as instructed, and used https://api.www.ads-software.com/secret-key/1.1/salt/ for the auth keys/salts.
However, when I go to https://MYWEBSITE.COM/wp-admin/install.php, I get an error that reads:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
So I tried deleting wp-config.php, but I still get the same error.
Here is a list of my PHP modules related to MySQL:
$ php -m | grep sql pdo_pgsql pdo_sqlite pgsql sqlite3
- The topic ‘PHP missing the MySQL extension’ is closed to new replies.