hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to install phpmyadmin on nginx?
Reply

Forum Jump

How to install phpmyadmin on nginx?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-10-2011, 08:51 AM
Ruriko Ruriko is offline
Junior Guru
 
Join Date: Mar 2008
Posts: 186

How to install phpmyadmin on nginx?


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



Sponsored Links
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Nginx 0.8.53 +phpmyadmin+mysql+php-fpm+ftp script! Ruchirablog Hosting Security and Technology Tutorials 32 08-18-2013 07:26 AM
Install phpmyadmin on Centos server with nginx hostyourdream Hosting Software and Control Panels 19 08-10-2011 06:15 PM
install nginx no one VPS Hosting 2 05-28-2011 07:20 AM
How can i install nginx server? sm69 Dedicated Server 5 04-19-2011 12:11 AM
Install Nginx - PHP-FPM Install: package could not be found minhmeo Hosting Security and Technology 8 07-29-2010 11:36 AM

Related posts from TheWhir.com
Title Type Date Posted
Nginx to be Included in Upcoming Ubuntu Release Web Hosting News 2014-01-08 15:17:12
Nginx Raises $10M to Extend Commercial Support Web Hosting News 2013-10-15 11:20:26
Apache Market Share Dips Slightly in June Netcraft Web Server Survey Web Hosting News 2013-06-06 13:40:21
nginx Version 1.4.0 Supports SPDY Protocol Web Hosting News 2013-04-29 15:08:14
Nginx Aims to Grow Market Share Under New CEO Gus Robertson Web Hosting News 2013-04-08 14:28:48


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?