Nginx + PHP-FPM, php scripts not running
Posted
by
Gee
on Server Fault
See other posts from Server Fault
or by Gee
Published on 2010-09-12T02:24:00Z
Indexed on
2012/06/23
9:19 UTC
Read the original article
Hit count: 294
I installed a LEMP stack on Linode using one of the stack scripts they offer. I actually didn't run it on boot but instead entered the commands manually since it seemed to not install everything correctly.
Anyway, after installing everything and starting both the server and php-fpm without error, I created a phpinfo();
page on the default nginx location (/var/www/index.php
). Problem is that it's not executing the script and instead displays as a static file. Anyone know how I could approach this?
© Server Fault or respective owner