Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

SNaRe's avatar

Installed Laravel But Phpmyadmin has conflict with Laravel Routes

I have a hosting from Digitalocean and installed laravel 5.2 on ubuntu 14 LTS I followed this guide https://laracasts.com/discuss/channels/laravel/install-laravel-on-digitalocean-by-lamp

All is working XXX

But I tried to install Phpymyadmin according to the digitalocean document

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-14-04

My problem is xxxx/phpmyadmin doesn't seem to be working since it has some kind of conflict with laravel routes.

It gives me error. http://xxxx/phpmyadmin

Sorry, the page you are looking for could not be found.

1/1 NotFoundHttpException in RouteCollection.php line 161:

How can I fix this?

0 likes
1 reply
SNaRe's avatar
SNaRe
OP
Best Answer
Level 7

I forgot this step, actually I think dgitalocean forgot to add this to their documentation.

Once you've finished installing PHPMyAdmin we need to add it to Apache's config:

sudo nano /etc/apache2/apache2.conf

Add this to the bottom of the file:

Include /etc/phpmyadmin/apache.conf

Once that's finished restart Apache and we can move on:

sudo service apache2 restart

1 like

Please or to participate in this conversation.