M
M
Maybe_V2016-07-06 21:14:36
PHP
Maybe_V, 2016-07-06 21:14:36

How to fix a bug with libxml2?

Help solve the problem.
After installing os x el capitanon your mac mini, I homebrewinstalled phpand 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

Already reinstalled via homebrew libxml2, climbed the entire Internet - nothing helps!

Tell me how can I fix this!?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2016-07-07
@alexyat

In the same place it is written in English in white, you need a version of libxml 12, and you have 10

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question