Php – Can’t find XAMPP’s httpd-xampp.conf file on MacOs Mojave

apachemacosPHPphpmyadminxampp

I'm experiencing the problem discussed in this thread: New xampp security concept: Access Forbidden Error 403 – Windows 7 – phpMyAdmin

To solve it I apparently need to make some changes to the httpd-xampp.conf file. I however don't know how to locate it.

Best Answer

Are you guys sure you mounted /lampp?

XAMPP Volumes

If not, please do so.

Then open file at

lampp/etc/extra/httpd-xampp.conf

and edit it at line 20 and add a new one at 42 like this:

# since XAMPP 1.4.3
<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Require all granted
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

and

# <Location /time>
SetHandler modperl
PerlResponseHandler Apache::CurrentTime
Require all granted

Start XAMPP again (mounting of lampp not necessary anymore) and you are good to go.