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
Who Can Access a File with Octal Permissions "000" on Linux/Unix
Docker Copy with File Globbing
How to Start Redis-Server on a Different Port Than the Default Port 6379 in Ubuntu
How to Return Memory from Process to the Os
Automated Test Tools for Linux/Ncurses
Executing Script on Receiving Incoming Connection with Xinetd
Equivalent Date from Gnu to Solaris
Numa Aware Cache Aligned Memory Allocation
How to Read Only First N Bytes from the Http Server Using Linux Command
How to Remove Only the First Occurrence of a Line in a File Using Sed
Get Rid of "Gcc - /Usr/Bin/Ld: Warning Lib Not Found"
"Cannot Execute Binary File" When Trying to Run a Shell Script on Linux
How to Change the Size of a Named Pipe on Linux
How to Create an Rs256 Jwt Assertion with Bash/Shell Scripting