Php7在nginx上安装wordpress投掷PHP安装缺少WordPress所需的MySQL扩展

我怎样才能解决这个问题?即时尝试在ubuntu 16上运行nginx for Php7,干净安装wordpress当我访问:http://blog.mysite.com/wordpress/我明白了:Your PHP installation appears to be missing the MySQL extension ...

我怎样才能解决这个问题?即时尝试在ubuntu 16上运行nginx for Php7,干净安装wordpress

当我访问:
http://blog.mysite.com/wordpress/

我明白了:

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

我该如何解决这个问题?

解决方法:

只需安装必要的扩展并重新启动fpm进程:

sudo apt-get install php-mysqlnd php-mysqli
sudo /etc/init.d/php7.0-fpm restart

本文标题为:Php7在nginx上安装wordpress投掷PHP安装缺少WordPress所需的MySQL扩展

基础教程推荐