Hate to ninja the thread Ive been trying to replicate this with php-fpm but I keep getting "No Input file specified".
Here is what is in my config. I am trying to load phpmyadmin into admin.domain.com/phpmyadmin
## phpMyAdmin Alias
location /phpmyadmin {
root /usr/local/www;
index index.php;
}
location ~ ^/phpmyadmin.+\.php$ {
root /usr/local/www;
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME /usr/local/www$fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param HTTPS on;
fastcgi_intercept_errors on;
}
location /phpMyAdmin {
rewrite ^/* /phpmyadmin last;
}