Phpmyadmin and nginx

SSSlippy nginx-forum at nginx.us
Tue Apr 14 01:21:25 MSD 2009


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;
        }

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






More information about the nginx mailing list