Apache do not load libphp7.so module
21,836
[Ubuntu 16.04] - Check next file: /etc/apache2/mods-available/php7.1.load
LoadModule php7_module /usr/lib/apache2/modules/libphp7.1.so
Comments
-
Saw Yu Nwe almost 2 years
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 runningBut 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 backLoadModule php5_module libexec/apache2/libphp5.so
everything works fine. Any Idea?PS.OS Version: 10.12.2