Answer the question
In order to leave comments, you need to log in
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/;
}
}
Answer the question
In order to leave comments, you need to log in
Try replacing the last 2 lines in location phpmyadmin with include fastcgi.conf .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question