The requested URL /phpmyadmin was not found on this server

I couldn’t open the page after installing phpMyAdmin (http://123.123.123.123/phpmyadmin):

The requested URL /phpmyadmin was not found on this server.

I solved it.

sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
1 Like

Hey @benxi and welcome.

I’m glad you were able to solve your issue. Thank you for returning with a solution. This may help others who run into the same problem in the future.

For anyone who wants an explanation of the solution, here is a breakdown…

When phpmyadmin is installed, it isn’t actually installed in the web directory (/var/www/html). The installation method of phpmyadmin can result in different outcomes. I suspect this issue was the result of a “manual” installation as opposed to the “automated” installation that I show in my tutorials.

In this scenario, when @benxi installed phpmyadmin it wasn’t completed in full. Therefore a Symbolic Link (aka “Shortcut”) was created to allow access to phpmyadmin via the http://123.123.123.123/phpmyadmin URL.