Configuring phpmyadmin

Trazzt nginx-forum at nginx.us
Wed May 25 13:41:14 MSD 2011


Okay thx for the tip I'm new to this ;)
Here it is:

phpmyadmin:
_____________________________________
server{
    listen 80;
    server_name phpmyadmin;
    access_log /var/log/phpmyadmin.access_log;
    error_log /var/log/phpmyadmin.error_log;
 
    location / {
      root /usr/share/phpmyadmin;
      index index.php;
    }
 
    location ~ \.php$ {
        fastcgi_pass    127.0.0.1:9000;
        fastcgi_index   index.php;
        fastcgi_param   SCRIPT_FILENAME
/usr/share/phpmyadmin$fastcgi_script_name;
        include         fastcgi_params;
    }
}
_____________________________________

This is my fastcgi_script, located at "/etc/init.d/php-fastcgi"
http://pastie.org/1970419


I also have one other site enabled, I don't know if thats relevant but
you can find it here.
I want this site to be located at 'localhost'
http://pastie.org/1970411

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




More information about the nginx mailing list