Recognition

No awards yet.

Posts

2 Posts
  • Published Answer

    .php files on NGINX - execute, but no output sent

    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/<d…
    Accepted Answer: 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/<d…
    By sjcuk
  • Published Question

    .php files on NGINX - execute, but no output sent

    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. ...
    Accepted Answer: 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>
    1 By sjcuk Nginx PHP Ubuntu 16.04