Help solve the problem.
After installing os x el capitan on your mac mini via homebrew installed php and mysql . Created a local host, and everything works, but when I do apachectl configtes t throws out such an 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 through homebrew libxml2, climbed the entire Internet - nothing helps!
An error is thrown in this config line:
LoadModule php5_module /usr/local/opt/php56/libexec/apache2/libphp5.so
Tell me how you can fix it!?