Phpmyadmin and nginx

CryptWizard cryptwizard at gmail.com
Tue Apr 14 01:59:12 MSD 2009


It would probably be easier to create a symbolic link to phpMyAdmin
from inside your webroot.

On Tue, Apr 14, 2009 at 7:21 AM, SSSlippy <nginx-forum at nginx.us> wrote:
> 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