How to install phpmyadmin in centos and nginx server

December 25, 2013 5.6k views
I can't access phpmyadmin. Everything is fine except this.I have installed nginx successfully, probably some virtual host problem. how to redirect my user/share/phpmyadmin to server_ip/phpmyadmin
4 Answers
location phpmyadmin {
root /usr/share/phpmyadmin;
fastcgi_pass your_php_handler;

by Justin Ellingwood
Database management is important for any site or application that must keep a large amount of information organized. This article will cover how to install phpMyAdmin, a web-based front end to MySQL and MariaDB database management systems, on a CentOS 6.4 VPS.
You can use a document root, for example: ln phpMyAdmin->/usr/share/phpMyAdmin
It's automatically password protected but I'm not too sure how effectively.
sudo ln -s /usr/share/phpmyadmin /usr/shared/nginx/html That should do for you I think
Have another answer? Share your knowledge.