Configuring phpmyadmin

Trazzt nginx-forum at nginx.us
Wed May 25 15:58:21 MSD 2011


I really appreciate your help, but PHP is still not working
This is how my phpmyadmin configuration file looks like after all your
edits:
________________________
server{
    listen 80;
    server_name phpmyadmin;
    access_log /var/log/phpmyadmin.access_log;
    error_log /var/log/phpmyadmin.error_log;
 
    location / {
    return 404;
      }

    location /phpmyadmin {
    root /usr/share;
    index index.php;
      }

    location ~ ^/phpmyadmin/.+\.php$ {
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_param SCRIPT_FILENAME /usr/share$fastcgi_script_name;
    include fastcgi_params;
      }
  }
______________________

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




More information about the nginx mailing list