1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

LAMP Stack - Starting apache fails, cannot find libphp7.so on Arch Linux

Discussion in 'Main Forum' started by Brandon Nguyen, Sep 12, 2018.

  1. I have tried installing a lamp server with Apache2, php7, mysql with pacman -S apache php php-apache mysql

    Starting apache without php works fine, but when I try to install the module by adding in

    LoadModule php7_module modules/libphp7.so
    AddHandler php7-script php
    Include conf/extra/php7_module.conf

    But starting it gives me the error: libread.so.6: ...could not open modules/libphp7.so: no such file or directory

    I checked the /etc/httpd/modules directory and libphp7.so was present, and the permissions were the same as the other modules (rwxr-xr-x).

    I have tried reinstalling the packages with no luck as well.

    Please help.

    Login To add answer/comment

Share This Page