nginx php-fpm trouble
- by Patrick
Hello, we're using php-fpm and have trouble getting the scripts to work if we change the 'root' value in nginx.conf.
location ~ \.php$ {
root /usr/share/nginx/html ;
If we change that root to point to other directory, even if it's /usr/share/nginx/html/crap, it wouldn't work. The directory exists of course. It's like it can read the file in that directory, but not execute it. I've checked all file permissions. Anyone has any idea?