I installed php7.1 using brew install php71 --with-httpd24
and unlinked httpd24. I got working version of php7.1 together with libphp7.so.
php7.1 running
But when I add LoadModule php7_module /usr/local/opt/php71/libexec/apache2/libphp7.so
to httpd.conf file, php files stop working. When I uncommented back LoadModule php5_module libexec/apache2/libphp5.so
everything works fine. Any Idea?
PS.OS Version: 10.12.2
[Ubuntu 16.04] - Check next file: /etc/apache2/mods-available/php7.1.load
LoadModule php7_module /usr/lib/apache2/modules/libphp7.1.so