title: Using PHP 7 with WAMP
body: <p>My OS is Windows 10 Pro x64 and I have installed <code>VC14</code> packages x86 and x64.</p>
  
  <p>I have added a php7.0.0 directory to <code>wamp/bin/php</code>, copied files <code>php.ini</code>, <code>phpForApache.ini</code> and <code>wampserver.conf</code>, and modified the directories and php extensions in these files.</p>
  
  <p>There is my <code>wampserver.conf</code>:</p>
  
  <pre><code>&lt;?php
  $phpConf['phpIniDir'] = '.';
  $phpConf['phpExeDir'] = '.';
  $phpConf['phpConfFile'] = 'php.ini';
  
  //PHP 7 needs Apache 2.4.x and doesn't works with Apache 2.2.x
  $phpConf['apache']['2.4']['LoadModuleName'] = 'php7_module';
  $phpConf['apache']['2.4']['LoadModuleFile'] = 'php7apache2_4.dll';
  $phpConf['apache']['2.4']['AddModule'] = '';
  ?&gt;
  </code></pre>
  
  <p>It is correctly read by WAMP because when I select the php7.0.0 version, the Apache httpd.conf gets this line:</p>
  
  <pre><code>LoadModule php7_module "c:/wamp/bin/php/php7.0.0/php7apache2_4.dll"
  </code></pre>
  
  <p>The path is correct and the dll file exists, but the Apache service doesn't start and if I check Apache extensions, the php7_module is indicated as not found (red square).</p>
  
  <p>If I check apache error log, the only reported one is </p>
  
  <blockquote>
    <p>[Tue Dec 08 11:02:14.021018 2015] [core:warn] [pid 5008:tid 516] AH00098: pid file C:/wamp/bin/apache/apache2.4.9/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?</p>
  </blockquote>
  
  <p>Does anyone who has successfully run PHP 7 in WAMP server know a fix for this problem? Thank you.</p>