Sunday, January 5, 2014

Install phpmyadmin on Ubuntu 13.10

To install phpmyadmin, run
sudo apt-get install phpmyadmin
When I open http://localhost/phpmyadmin, it says ".../phpmyadmin/ was not found on this server".

How to fix it?
Firstly, open /etc/apache2/apache2.conf
You can open it by pressing Alt+F2, then type
gksudo gedit /etc/apache2/apache2.conf
Note: if gksudo is not installed, you can install it using "sudo apt-get install gksu".

Then go to the end of the file and type
Include /etc/phpmyadmin/apache.conf
Save the file, then restart the apache using this command
sudo /etc/init.d/apache2 restart
Done.

2 comments:

gadel said...
This comment has been removed by the author.
gadel said...

thanks, it works. :)