nginx with php-fpm on ubuntu 12.04 server.
attempting to access /var/www/test.
php (via https://example.net/test.php) downloads the script instead of executing it.
if I place the test.
php in a subdirectory, i.e. /var/www/test/test.
php it executes.
root.conf;
root /var/www;
include php-fpm.conf;
location ~ /\. {
access_log off;
…