No input file specified with nginx

Posted by user66700 on Server Fault See other posts from Server Fault or by user66700
Published on 2011-01-13T05:00:25Z Indexed on 2011/01/13 5:55 UTC
Read the original article Hit count: 206

Filed under:
|

I'm getting "No input file specified." when I attempt to browse to the phpmyadmin domain, not sure what I'm doing wrong.. using both php-fpm and php-cgi, php-fpm is currently working another directory fine..Had to change the port number to 8888 since -fpm was already using 9000

http://pastebin.com/kdEckiL3

from nginx.conf:

server {
    listen 80;
    server_name phpmyadmin.domain.com;
    access_log /home/fanboy/logs/phpmyadmin.access_log;
    error_log /home/fanboy/logs/phpmyadmin.error_log;

location / {
    root /usr/share/phpmyadmin;
    index index.php;
    }

location ~ \.php$ {
    fastcgi_pass 127.0.0.1:8888;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME /usr/share/phpmyadmin$fastcgi_script_name;
    include /usr/local/nginx/conf/fastcgi.conf;
    }
}

© Server Fault or respective owner

Related posts about nginx

Related posts about phpmyadmin