I'm trying to install a Wordpress blog on my Linux server (CentOS 7.2), using PHP 5.4 and MariaDB, but I keep running into this error:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
Have been searching around for posts related to this:
- CentOS Linux 5.4 -Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Error when install Wordpress with mariadb "Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
- Installing Wordpress in Rails /public - missing mysql extension
However, I already have php-mysql installed:
And I have the MySQL extension configured for php.ini:
But for some reason, the MySQL extension still isn't loading in phpinfo():
That's probably causing this error from Wordpress, any idea what might be happening? Why isn't the MySQL extension getting loaded in PHP? Maybe because I'm using MariaDB?
And here's the output of:
ls -l /etc/php.d , rpm -ql php-mysql and ls -l /usr/lib64/php/modules/
And the mysqli extension is installed and enabled: