我有一个全新安装的OSX el capitan 10.11.2并使用homebrew安装了php7.现在收到以下错误
命令
sudo apachectl -e info -k restart
错误
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
我在谷歌搜索但没有得到任何具体的解决方案.