Answer the question
In order to leave comments, you need to log in
How to fix a bug with libxml2?
Help solve the problem.
After installing os x el capitan
on your mac mini, I homebrew
installed php
and mysql
. I created a local host and everything works, but when I do apachectl configtest it throws this error:
httpd: Syntax error on line 169 of /private/etc/apache2/httpd.conf: Cannot load /usr/local/opt/php56/libexec/apache2/libphp5.so into server: dlopen(/usr/local/opt/php56 /libexec/apache2/libphp5.so, 10): Library not loaded: /usr/local/opt/libxml2/lib/libxml2.2.dylib\n Referenced from: /usr/local/opt/php56/libexec/apache2/ libphp5.so\n Reason: Incompatible library version: libphp5.so requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question