nginx + php-fpm = file not found

khav nginx-forum at nginx.us
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/servergreek.com/public_html/www 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/servergreek.com/public_html/www . But why the
/home/servregreek.com/public_html/www didn't worked?

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

mkdir -p  /var/www/servergreek.com/public_html/www -worked
mkdir -p  /home/servergreek.com/public_html/www - didn't worked


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

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255466,255491#msg-255491



More information about the nginx mailing list