skip to Main Content

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.

5

Answers


  1. Is not that located at: etc/extra/httpd-xampp.conf ?

    If not, then just create it, and in the main .conf file (httpd.conf) file, insert such line:

    Include etc/extra/httpd-xampp.conf
    
    Login or Signup to reply.
  2. use find command to know the location of httpd-xampp.conf. enter the following command:

    $ sudo find / -iname "httpd-xampp.conf"
    
    Login or Signup to reply.
  3. It is located in the virtual machine running xampp, not the physical hard drive. That being said, I cannot find mine either and am simply using http://localhost:8080 to access phpMyAdmin until I find httpd-xampp.conf.

    Login or Signup to reply.
  4. 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.

    Login or Signup to reply.
  5. Having issues setting up xampp on macOs or accessing the config.inc.php or httpd-xampp.conf file.
    Note: For macos xampp making use virtual machine under the hood to mount the folder structure on your system.

    step 1: you need to follow the instruction step by step on the screen below,
    it has image illustration which helps alot
    https://www.apachefriends.org/blog/new_xampp_20170628.html

    step 2: Click on network tab within the xampp interface then enable one of the
    host machine.

    step3: Click on the volume tab within the xampp interface then click on mount
    then click Explore to have access to the xampp folder or files likes of config.inc.php or httpd-xampp.conf

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search