Activity Stream
48,167 MEMBERS
6834 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 2 of 2
  1.     
    #1
    Member

    Default Nginx 502 bad gateway

    I'm trying to install phpmyadmin with nginx but when I'm about to install you have to choose a web server which lists apache2 & lighttpd which I'm not using neither cause I'm using nginx. So I selected apache2. When I try to view phpmyadmin I would get 502 Bad Gateway


    nginx vhost config
    Code: 
    server {
            listen    80;
            server_name     205.185.126.17;
     
            location / {
                    root /usr/share/phpmyadmin;
                    index index.php;
            }
     
            location ~ .php$ {
                    fastcgi_pass   127.0.0.1:49232; #this must point to the socket spawn_fcgi is running on.
                    fastcgi_index  index.php;
                    fastcgi_param  SCRIPT_FILENAME    /usr/share/phpmyadmin/$fastcgi_script_name;  # same path as above
                    include /etc/nginx/fastcgi_params;
            }
        }
    Ruriko Reviewed by Ruriko on . Nginx 502 bad gateway I'm trying to install phpmyadmin with nginx but when I'm about to install you have to choose a web server which lists apache2 & lighttpd which I'm not using neither cause I'm using nginx. So I selected apache2. When I try to view phpmyadmin I would get 502 Bad Gateway nginx vhost config server { listen 80; server_name 205.185.126.17; location / { root /usr/share/phpmyadmin; Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    You can actually not go through the setup wizard of phpmyadmin, just create a config.inc.php - just copy the sample file and rename/edit it.

    Btw have you tested if a simple php script is working on your server?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SMS PAYMENT GATEWAY
    By loveu in forum Other
    Replies: 1
    Last Post: 20th Oct 2012, 12:56 PM
  2. Nginx Bad Gateway Errors
    By Bharat in forum Webmaster Discussion
    Replies: 7
    Last Post: 18th Oct 2011, 09:58 PM
  3. how to put ads on 502: bad gateway page?
    By yakamozz in forum General Discussion
    Replies: 4
    Last Post: 27th Sep 2011, 10:09 AM
  4. Need International Sms Gateway
    By SaKIB in forum Webmaster Discussion
    Replies: 0
    Last Post: 25th Jun 2011, 04:49 PM
  5. Having 504 Gateway Error Need Help
    By xtone in forum Webmaster Discussion
    Replies: 7
    Last Post: 10th Dec 2010, 06:35 PM

Tags for this Thread

BE SOCIAL