Report this

What is the reason for this report?

PHP Not loading files correctly

Posted on August 3, 2014

Running the prebuilt ghost image and installed php but it won’t load any files it just displays the files code and nothing else. this is with NGINX instead of Apache.



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.

Can you show the contents of /etc/nginx/nginx.conf and the Vhost file, if you’re using virutal host (/etc/nginx/sites-available/)?

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.