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