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.
Click below to sign up and get $100 of credit to try our products over 60 days!
sudo ln -s /usr/share/phpmyadmin /usr/shared/nginx/html
That should do for you I think
asif <br>You can use a link.in 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=“https://www.digitalocean.com/community/articles/how-to-install-and-secure-phpmyadmin-on-a-centos-6-4-vps”>How To Install and Secure phpMyAdmin on a CentOS 6.4 VPS</a> and <a href=“https://www.digitalocean.com/community/articles/how-to-install-phpmyadmin-on-a-lemp-server/”>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>?