title: Error: Apache shutdown unexpectedly error message
body: <p>I just upgraded the PHP version of XAMPP from PHP 7.1.7 to PHP 7.2.0 using the guidelines from this <a href="https://www.techflirt.com/how-to-upgrade-php-in-xampp/" rel="nofollow noreferrer">article</a>.</p>
  
  <p>Then I tried restarting the XAMPP but I got this error:</p>
  
  <pre><code>10:54:47 AM  [Apache]   Error: Apache shutdown unexpectedly.
  10:54:47 AM  [Apache]   This may be due to a blocked port, missing dependencies, 
  10:54:47 AM  [Apache]   improper privileges, a crash, or a shutdown by another method.
  10:54:47 AM  [Apache]   Press the Logs button to view error logs and check
  10:54:47 AM  [Apache]   the Windows Event Viewer for more clues
  10:54:47 AM  [Apache]   If you need more help, copy and post this
  10:54:47 AM  [Apache]   entire log window on the forums
  </code></pre>
  
  <p>After that I opened up my Skype and in the Connection tab, I disabled the checkobox "<strong>Use port 80 and 443 for alternatives for incoming connections</strong>". Then I tried restarting the Apache but again I got the error message.</p>
  
  <p>Next thing that I did was changing the <code>Listen 80</code> to <code>Listen 1372</code> in  <strong>httpd.conf</strong> and also the <code>ServerName localhost:80</code> to <code>ServerName localhost:1372</code> in the same file. And then tried to start the Apache but one more time I got the same error.</p>
  
  <p>I also changed this:</p>
  
  <pre><code>&lt;VirtualHost _default_:443&gt;
  
  ServerName www.example.com:443
  </code></pre>
  
  <p>to this:</p>
  
  <pre><code>&lt;VirtualHost _default_:4433&gt;
  
  ServerName localhost:4433
  </code></pre>
  
  <p>in the <strong>httpd-ssl.conf</strong> file. But until now the Apache can not start and returns the same error message. </p>
  
  <p>So what should I do now?</p>