Libphp7 has vanished

I did an update (as I wanted the new mouspad release) but after reboot I get:

httpd: Syntax error on line 545 of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp7.so into server: /etc/httpd/modules/libphp7.so:

so I tried
sudo find / -name libphp7.so

but it didn’t find it.
Any Ideas what happened and how I get it back?

1 Like

See PHP 8.0 and PHP 7 legacy packages are available

in file: /etc/httpd/conf/httpd.conf

change from:

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

to:

LoadModule php_module modules/libphp.so
AddHandler php-script php
Include conf/extra/php_module.conf

then:

sudo systemctl restart httpd

6 Likes

Thanks!
phpinfo() is working again, but none of my websites… None the less it’s probably better I find out what deprecated features I’ve been using and fix them rather than install a version 7 again!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.