New Virtualmin with NGINX is having PHP issues

2 posts / 0 new
Last post
#1 Sun, 08/20/2017 - 20:37
kindnation

New Virtualmin with NGINX is having PHP issues

After new Virtualmin installation with NGINX, I restored a WordPress site and received this error:

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

I see in /etc/php there is 7.0/ and 7.1/

But in /home/example.com/etc/ there is only php5/ and php7.0/

How do I choose the active PHP version in Virtualmin for NGINX, and what is causing the MySQL extension error? I've never had an issue with WordPress before until the latest version of Virtualmin.

Thanks for your support.

Mon, 08/21/2017 - 00:45
kindnation

I fixed it by installing php5-mysql, and restarting /etc/init.d/php-fcgi-domain-com

Topic locked