https://wiki.archlinux.org/title/Genera … bumping%22
Closing.
]]>My solution came where I simply changed /libphp7.so to /libphp.so and similar references as well. It seems with php8 they changed the naming conventions to remove the version number from the module reference:
LoadModule php_module modules/libphp.so
AddHandler php-script php
Include conf/extra/php_module.conf
Hopefully this is a long-term solution.
]]>php-8.0.3-1
php-cgi-8.0.3-1
php-gd-8.0.3-1
php-pgsql-8.0.3-1
pacman -F libphp7.so
I tried this and the error persists.
localhost/index.html works fine ...
localhost/info.php gives me the error "cannot load modules/libphp7.so into server".
The current version of php I am using is php-8.0.3-1 and also php-apache-8.0.3-1
Perhaps I need to change which php module is being referenced with the LoadModule command to php8?
]]>pacman -F libphp7.so
]]>systemctl status apache
systemd[1]: Started Apache Web Server
httpd [1444]: httpd: Syntax error on line 542 of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp7.so into server: /etc/
systemd[1]: httpd.service Main process exited, code=exited, status=1/FAILURE
systemd[1]: httpd.service Failed with result 'exit-code'.
In my /etc/httpd/conf/httpd.conf file:
LoadModule php_module modules/libphp7.so
AddHandler php7-script php
Include conf/extra/php7_module.conf
I am thinking that I may be referencing the wrong php version or I do not have the correct php version installed from the AUR.
If someone could point me in the right direction, I would be grateful.
]]>