Comments on: How to Install WordPress with PHP 7.1 and Nginx on Debian 9 https://linuxhostsupport.com/blog/how-to-install-wordpress-with-php-7-1-and-nginx-on-a-debian-9-vps/ Linux Tutorials and Guides Thu, 25 Jan 2018 12:40:59 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Patrick https://linuxhostsupport.com/blog/how-to-install-wordpress-with-php-7-1-and-nginx-on-a-debian-9-vps/#comment-34 Thu, 11 Jan 2018 16:21:29 +0000 https://linuxhostsupport.com/blog/?p=153#comment-34 Hello please keep in mind that nginx has a default server configuration that is serving php-files by default!

You should delete the default configuration:

rm /etc/nginx/sites-enabled/default

Else someone could download *.php files (eg. configuration files) by using your ip-address as url!

]]>
By: ducho https://linuxhostsupport.com/blog/how-to-install-wordpress-with-php-7-1-and-nginx-on-a-debian-9-vps/#comment-32 Sun, 31 Dec 2017 04:32:13 +0000 https://linuxhostsupport.com/blog/?p=153#comment-32 Hello
Thanks for describing all the steps.
I would add additional deny rule to the virtualhost:

# Deny public access to wp-config.php
location ~* wp-config.php {
deny all;
}

]]>
By: Rumio https://linuxhostsupport.com/blog/how-to-install-wordpress-with-php-7-1-and-nginx-on-a-debian-9-vps/#comment-27 Sun, 10 Dec 2017 09:09:07 +0000 https://linuxhostsupport.com/blog/?p=153#comment-27 Thanks for an excellent tutorial. Followed it and WordPress was installed flawlessly. There are other tutorials on web but I found it to be the best one if someone installs PHP7 on Debian 9.

Just 1 simple issue: The server of packages.sury.org is extremely slow. When I installed PHP, data transfer was at I think just 30-40kbps. But it got installed in a few minutes.

Thank you.

]]>