How to install zip extension for PHP7

Specifically for LAMP stack / webmin

First, install the module

sudo apt-get install php7.0-zip

Then restart the web server

sudo service apache2 restart
sudo service nginx restart

That’s it!

PHP result in blank page and 404 in nginx

If I go to a .php file, I got a blank page, if I add a query string ?something=something I got a 404.

I tried to search this error with the script I was trying to use on Google to no avail… and then I added this line

error_log /var/log/nginx/site.name-error.log error;

Who would have thought? Missing the error log result in a blank page!