How to install phpmyadmin in centos and nginx server

  • Posted December 25, 2013

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


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

sudo ln -s /usr/share/phpmyadmin /usr/shared/nginx/html

That should do for you I think

asif <br>You can use a document root, for example: ln phpMyAdmin->/usr/share/phpMyAdmin <br>It’s automatically password protected but I’m not too sure how effectively. <br>RAlper3 <br>

Have you check out <a href=“”>How To Install and Secure phpMyAdmin on a CentOS 6.4 VPS</a> and <a href=“”>How To Install phpMyAdmin on a LEMP server</a>?

location phpmyadmin { <br>root /usr/share/phpmyadmin; <br>fastcgi_pass your_php_handler; <br>} <br> <br>?