PHP-FPM not working with nginx and CentOS
- by Daniel
After failing to get FastCGI to work with PHP I have installed the PHP-FPM service which is reported to work out of the box, however PHP files are downloading instead of executing.
This is what I have in the nginx.conf file:
server {
listen 80;
server_name pubserver;
root /usr/share/nginx/html;
location ~ \.php$ {
…