Hi - I have an NGINX server on LAMP, Ubuntu 16.04 and have got wordpress working OK.
However, when I upload my own .php files to /htdocs, they execute, but no output is sent to the browser. I just see a blank screen. ...
Solved it - I just changed the user permissions of the files and folder to www-data:
sudo chown -R www-data:www-data /var/www/<domain name>