我正在尝试使用
PHP 5.4和MariaDB在我的Linux服务器(CentOS 7.2)上安装Wordpress博客,但我一直遇到这个错误:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
一直在寻找与此相关的帖子:
> 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
但是,我已经安装了php-mysql:
我为php.ini配置了MySQL扩展:
但由于某种原因,MySQL扩展仍未加载到phpinfo():