Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi,
This usually has to do with the user that PHP processes run as. Not sure what yours is but if you put this in a small php page you can see:
<?php phpinfo(); ?>
Which you most likely have already done from this guide you listed: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04
As a quick rule I make the document root and all files/subdirectories owned by the php process executing user. I made the directories 755 and the files 644:
cd document_root find . -type d -exec chmod 755 {} ; find . -type f -exec chmod 644 {} ;
There may be some other web server (apache / nginx) related configuration issues, but this should give you a good start.