2

I am using Ubuntu 14.04. I have made setup LAMP by going through step by step from a tutorial. For Apache I mean http://localhost all the files are working fine . But when I am doing http://localhost/phpmyadmin it is showing me error like

Not Found
The requested URL /phpmyadmin/index.php was not found on this server
Apache/2.4.7 (Ubuntu) Server at localhost Port 80

I have gone through various blog and tutorials to solve the issue. In a blog it was written to add Include /etc/phpmyadmin/apache.conf in /etc/apache2/apache2.conf. I made like that and when I made

http://localhost/phpmyadmin it showed me the page like a bunch of code. Here is the code

I have made restart apache several times. But the same issue is present. So can someone kindly tell me how to solve this issue?

Fabby
  • 35,017
newuser
  • 1,331

2 Answers2

9

Try this, changing the directory if necessary. A symbolic link might need to be created.

From the terminal: sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin

Reload Apache: sudo /etc/init.d/apache2 reload

1

Type the commands below in terminal(Ctrl+Alt+T). It works for me...

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


sudo /etc/init.d/apache2 reload
A J
  • 11,557