I can't access http://localhost/phpmyadmin/

php, phpmyadmin

Solution

what you need to do is to add phpmyadmin to the apache configuration:

sudo nano /etc/apache2/apache2.conf

Add the phpmyadmin config to the file:

Include /etc/phpmyadmin/apache.conf

then restart apache:

sudo service apache2 restart

On windows, I think you can just navigate to the apache2 config file and include the phpmyadmin config file as shown above, then restart apache

Problem

Problem: I can't access `localhost/phpmyadmin/` before I can access `localhost/phpmyadmin/` but today when I'm trying to access this page I got weird page also I can access `localhost/xampp/` without any problem Question: How can I solve this problem ?

Original source