Take the tour ×  So I can't remember what I did, but for some
reason I cannot get PHP to be parsed anymore. What would be the
basic troubleshooting steps to check on this? I have php5
installed and nginx running but when I, for example, create a
phpinfo page, the raw php is displayed on the website. I'd like
to know how to really 'activate' php and make sure it can make a
successful connection with nginx to serve up pages with php
content. I am referring to a linux CLI environment, in case that
was unclear.  share|improve this question add comment  closed as
not a real question by SvW, MadHatter, Michael Hampton, Khaled,
mgorven Mar 20 at 16:27   3 Answers  nginx doesn't bundle itself
with PHP support. To "enable" PHP, you have to let your
webserver know how to handle the packages. This is where PHP-FPM
comes in.  Using whatever package manager is appropriate for
your OS, install FPM (e.g. apt-get install php5-fpm), give it a
configuration file, then reload nginx.  Here's my
/etc/nginx/nginx.conf to get you s