How to install phpmyadmin in centos and nginx server

Posted December 25, 2013 8k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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