title: MAMP Apache couldn't be started
body: <p>On MacOSX when using MAMP GUI to start, MySQL starts but Apache doesn't start and gives the following error</p>
  
  <p><code>Apache couldn't be started. Please check your MAMP installation and configuration</code></p>
  
  <p>running <code>sudo /Applications/MAMP/Library/bin/apachectl start</code> gives</p>
  
  <p><code>
  httpd: Syntax error on line 135 of /Applications/MAMP/conf/apache/httpd.conf: Cannot load /Applications/MAMP/bin/php/php7.0.10/modules/libphp7.so into server: dlopen(/Applications/MAMP/bin/php/php7.0.10/modules/libphp7.so, 10): Library not loaded: /Applications/MAMP/Library/lib/libcrypto.1.0.0.dylib\n  Referenced from: /Applications/MAMP/bin/php/php7.0.10/modules/libphp7.so\n  Reason: image not found
  </code></p>
  
  <p>Additional info<br>
   - I've downloaded PHP 7.0.10 from <a href="https://www.mamp.info/en/downloads/" rel="nofollow">https://www.mamp.info/en/downloads/</a><br>
   - I'm using MAMP not MAMP Pro  </p>
  
  <p>EDIT:</p>
  
  <p>I've tried </p>
  
  <ul>
  <li>Renaming the file “envvars” located in /Applications/MAMP/Library/bin into “_envvars”</li>
  <li>Changing ports</li>
  </ul>