title: Apache will not start after upgrading PHP7 on Xampp
body: <p>I've been trying to upgrade to PHP7 on xampp, but when I try to restart Apache, I just get:</p>
  
  <pre><code>0:38:00  [Apache]   Attempting to start Apache app...
  0:38:01  [Apache]   Status change detected: running
  0:38:01  [Apache]   Status change detected: stopped
  0:38:01  [Apache]   Error: Apache shutdown unexpectedly.
  0:38:01  [Apache]   This may be due to a blocked port, missing dependencies, 
  0:38:01  [Apache]   improper privileges, a crash, or a shutdown by another method.
  0:38:01  [Apache]   Press the Logs button to view error logs and check
  0:38:01  [Apache]   the Windows Event Viewer for more clues
  0:38:01  [Apache]   If you need more help, copy and post this
  0:38:01  [Apache]   entire log window on the forums
  </code></pre>
  
  <p>I've already updated:
  httpd-xampp.conf with the correct path and naming. But no luck.</p>
  
  <p>Also tried switching ports, and don't have skype. I don't think it's a port issue since everything's working fine when I use php5. Everything suggested here:</p>
  
  <p><a href="https://stackoverflow.com/questions/17946150/apache-is-not-running-from-xampp-control-panel-error-apache-shutdown-unexpect">Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)</a></p>
  
  <p>Apache Logs:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>[Tue Mar 21 02:48:54.551995 2017] [core:notice] [pid 10852:tid 280] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
  [Tue Mar 21 02:48:54.987020 2017] [mpm_winnt:notice] [pid 10852:tid 280] AH00418: Parent: Created child process 10256
  [Tue Mar 21 02:48:55.611056 2017] [ssl:warn] [pid 10256:tid 292] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
  [Tue Mar 21 02:48:55.927074 2017] [ssl:warn] [pid 10256:tid 292] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
  [Tue Mar 21 02:48:56.062081 2017] [mpm_winnt:notice] [pid 10256:tid 292] AH00354: Child: Starting 150 worker threads.</code></pre>
  </div>
  </div>
  </p>
  
  <p>Already tried the solutions mentioned here:
  <a href="https://stackoverflow.com/questions/24097498/error-running-apache-after-xampp-install">error running apache after xampp install</a></p>
  
  <p>But also no luck.</p>