nginx + php-fpm = file not found

khav nginx-forum at
Mon Dec 15 04:20:22 UTC 2014

I fixed it ... but for that i had to change my document root setup 

when i was using /home/ i got "no input file
specified"(although the directory existed and had index.php in it).Then i
did a server reinstall again but i choose
/var/www/ . But why the
/home/ didn't worked?

Btw i created both directory as shown (i did no chown on either on them)

mkdir -p  /var/www/ -worked
mkdir -p  /home/ - didn't worked

Is an extra step required when using directories outside /var/www ?

Posted at Nginx Forum:,255466,255491#msg-255491

More information about the nginx mailing list