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

Share:
21,836
Saw Yu Nwe
Author by

Saw Yu Nwe

I have array of interests and coding is one of them.

Updated on July 09, 2022

Comments

  • Saw Yu Nwe
    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 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