menu

Thursday, July 14, 2016

phpmyadmin not found on LAMP install in Ubuntu 16.04+

Hey folks,

Just another quick one. Recently I installed Ubuntu 16.04 and Ubuntu 16.10 both uses the shinny new php7.0. And some newer version of apache as well. And both times when I installed phpmyadmin, and go to http://127.0.0.1/phpmyadmin or http://127.0.0.1/phpmyadmin
it gives me a simple, annoying 404!

Well there's a lot of solutions for this in Q&A threads, but for me the only working solution is that, you need to Include the phpmyadmin configuration at the end of the apache2 configuration, so that apache knows that phpmyadmin exists. Here's how

1) Open up apache configurations

sudo nano /etc/apache2/apache2.conf

2) Add the following to the very end

Include /etc/phpmyadmin/apache.conf

3) Save and exist and then restart the apache server

sudo service apache2 restart

4) Browse http://127.0.0.1/phpmyadmin

WORKS GREAT!!

3 comments:

  1. wow really superb you had posted one nice information through this. Definitely it will be useful for many people. So please keep update like this.

    Digital Marketing For Small Business in Chennai

    ReplyDelete
  2. This technological concepts are really well being and wonderful thus it is very much interesting and very well good too, really i got more information from your knowledge.

    Software Testing Training in Chennai

    ReplyDelete
  3. very nice informatio,i too like this to gaining my knowledge.thank you
    Web Design Company in Chennai

    ReplyDelete