skip to Main Content

I installed XAMPP 7.2.7 version but Apache keeps on failing with this error:

httpd: Syntax error on line 522 of
/Applications/XAMPP/xamppfiles/etc/httpd.conf: Syntax error on line 13
of /Applications/XAMPP/xamppfiles/etc/extra/httpd-xampp.conf:

Cannot load modules/mod_perl.so into server:
dlopen(/Applications/XAMPP/xamppfiles/modules/mod_perl.so, 10): Symbol
not found: _modperl_handler_anon_add

Referenced from: /Applications/XAMPP/xamppfiles/modules/mod_perl.so

Expected in: dynamic lookup

I tried looking at the httpd.conf, httpd-xampp.conf files and tried to modify those lines hoping that it will fix the errors but it didn’t. So it seems like the problem is with the mod_perl.so file but I can’t open the file.

I re-installed XAMPP several times and downgraded to 7.1.x but the same error occurred.

Forgot to mention this: I’m using macbook pro high sierra 10.13.5

2

Answers


  1. you don’t say what you did to modify the lines but I just had this issue and commented out line 13 of /Applications/XAMPP/xamppfiles/etc/extra/httpd-xampp.conf and it’s working fin after a restart – obviously this means that you aren’t loading the Pearl module but may work as an interim until you can find out what’s wrong with that

    Login or Signup to reply.
  2. To run Apache config test after modifying .conf files, and you are running XAMPP and its installed in the default /opt/lampp locaiton, then do the following, which should pinpoint the problem line.

    #how to run Apache config test/check on xampp

    /opt/lampp/bin/apachectl configtest
    

    Or

    /opt/lampp/bin/apachectl -t
    

    Note, i see the OP has error and line reporting, but i posted above for anyone trying to run Apache configtest on xampp install which i didn’t see in googling.

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