H
H
habryanen2015-07-24 14:35:08
PHP
habryanen, 2015-07-24 14:35:08

Nginx php5-fpm phpmyadmin, Why "No input file specified"?

The machine was configured according to the manual habrahabr.ru/post/139461

location /phpmyad {
                root /usr/share/;
                index index.php index.html index.htm;
                location ~ ^/phpmyadmin/(.+\.php)$ {
                        try_files $uri =404;
                        root /usr/share/;
                        fastcgi_pass unix:/var/run/php5-fpm.sock;
                        fastcgi_index index.php;
                        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                        include fastcgi_params;
                }
                location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
                        root /usr/share/;
                }
        }

When visiting domain/phpmyad
No input file specified.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2015-07-24
@miraage

Try replacing the last 2 lines in location phpmyadmin with include fastcgi.conf .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question