Instalar un servidor LEMP (probado en Ubuntu 16.04 xenial)
apt update apt -y upgrade apt -y install mariadb-server mysql_secure_installation apt -y install nginx apt -y install php-fpm php-mysql
cgi.fix_pathinfo=0
index index.php index.html;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
# With php7.0-fpm
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}