Melahi
February 10, 2021, 4:25am
1
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?
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
5 Likes
Melahi
February 10, 2021, 9:12am
4
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!
system
Closed
February 25, 2021, 9:13am
5
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.