Why Can't I Access Xampp's PHPmyadmin on Localhost? Access Is Forbidden

Why can't I access Xampp's phpmyadmin on localhost? Access is forbidden.

The solution can be found here. Summary follows:

Edit /opt/lampp/etc/extra/httpd-xampp.conf.

Add the line Require all granted to the bottom of the <Directory "/opt/lampp/phpmyadmin"> block as follows:

<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
Require all granted
</Directory>

PHP : Can't access phpmyadmin on a local network: Forbidden

1) You need to update from require local to Require all granted in the LocationMatch inside httpd-xampp.conf.

2) If still you have problem, remove Deny from all and add Allow from all

Xampp: I can't access phpMyAdmin from localhost

Go to /opt/lampp/etc/extra directory in case you have installed XAMPP under /opt, and edit httpd-xampp.conf to add Require all granted as shown below:

# since XAMPP 1.4.3
<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
Require all granted
</Directory>

You may have to restart your LAMPP sever by running /opt/lampp/lampp restart.

Why am I suddenly recieving Access Forbidden Error 403 when trying to access localhost/phpmyadmin?

I found the solution and it had nothing to do with my configurations. For some reason my phpmyadmin folder had been moved out of C:/xampp into C:/Data.
No idea how, possibly Windows update?
Anyway, I found this by going to the XAMPP Control Panel > Apache > Config > phpMyAdmin and when I clicked on it; it said it could not find the file in C:/xampp/phpmyadmin.
I then searched my computer for phpmyadmin and found it in C:/Data. Cut and pasted it into C:/xampp and voila! Everything works perfectly.
image of xampp control panel showing steps



Related Topics



Leave a reply



Submit