PHP Not loading files correctly

Posted August 3, 2014 2.1k views

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.

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.

Submit an Answer
1 answer

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