title: libphp7.so requires version 12.0.0 or later
body: <p>I have a fresh installation of OSX el capitan 10.11.2 and installed php7 using homebrew.Now getting following error </p>
  
  <p>command</p>
  
  <pre><code>sudo apachectl -e info -k restart
  </code></pre>
  
  <p>error</p>
  
  <pre><code>httpd: Syntax error on line 171 of /private/etc/apache2/httpd.conf:
   Cannot load /usr/local/opt/php70/libexec/apache2/libphp7.so into server: dlopen(/usr/local/opt/php70/libexec/apache2/libphp7.so, 10):
   Library not loaded: /usr/local/opt/libxml2/lib/libxml2.2.dylib
    Referenced from: /usr/local/opt/php70/libexec/apache2/libphp7.so
    Reason: Incompatible library version: libphp7.so requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0
  </code></pre>
  
  <p>I have searched on google but didn't get any specific solution.</p>