title: XAMPP - Apache not starting on Mac OS
body: <p><a href="https://www.apachefriends.org/download.html" rel="nofollow noreferrer">https://www.apachefriends.org/download.html</a></p>
  
  <p>Previously I'm using <code>xampp-osx-7.1.10-0-installer.dmg</code>.</p>
  
  <p>Now as my project required <code>PHP 7.2.X</code> above so I took the backup of all DB &amp; project. &amp; try to install <code>xampp-osx-7.2.7-0-installer.dmg</code></p>
  
  <p>After installation it keep gives me this error </p>
  
  <pre><code>   Starting all servers...
      Starting MySQL Database...
      /Applications/XAMPP/xamppfiles/mysql/scripts/ctl.sh : mysql  started at port 3306
      Starting Apache Web Server...
      Exit code: 8
      Stdout:
      apache config test fails, aborting
      Stderr:
      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\n  Referenced from: /Applications/XAMPP/xamppfiles/modules/mod_perl.so\n  Expected in: dynamic lookup\n
  </code></pre>
  
  <p>Can I upgrade PHP version only in XAMPP?</p>
  
  <p>If I'm now try to install <code>xampp-osx-7.1.10-0-installer.dmg</code> again then it gives on localhost below error</p>
  
  <pre><code>&lt;?php
      if (!empty($_SERVER['HTTPS']) &amp;&amp; ('on' == $_SERVER['HTTPS'])) {
          $uri = 'https://';
      } else {
          $uri = 'http://';
      }
      $uri .= $_SERVER['HTTP_HOST'];
      header('Location: '.$uri.'/dashboard/');
      exit;
  ?&gt;
  Something is wrong with the XAMPP installation :-(
  </code></pre>
  
  <p>So I'm not able to run XAMPP at all.</p>