mai 31 13:40:12 localhost systemd[1]: Starting The Apache Webserver...
mai 31 13:40:12 localhost start_apache2[2270]: httpd-event: Syntax error in -C/-c directive: Syntax error on line 25 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache>
mai 31 13:40:12 localhost systemd[1]: **apache2.service: Main process exited, code=exited, status=1/FAILURE**
mai 31 13:40:12 localhost systemd[1]: **Failed to start The Apache Webserver.**
mai 31 13:40:12 localhost systemd[1]: **apache2.service: Unit entered failed state.**
mai 31 13:40:12 localhost systemd[1]: **apache2.service: Failed with result 'exit-code'.**
I am trying let the system right to configure Nextcloud 21.0 with Postgresql
Yours should be different, as you have removed mod_php7.
As you have tried to install php-fpm it is likely related to the php / php-fpm module.
So, maybe you have got some issue with this part of the tutorial?
If I get that right, php7 shall be replaced by php7-fpm. I’d first check if there is any other php-related line in your config file. If not, is it possible that php7-fpm needs to added / enabled as well as fcgi? Is it possibly required for fcgi?
Well, for me that was EGroupware on an older install before they moved to docker.
How to add or enable php7-fpm?
That’s where I am really lost. I did do all the tinkering manually following other tutorials. In my naivety following yours I’d say it should be done with
sudo a2enmod
same like the proxy_fcgi. But I don’t know what the exact module name is as I don’t have php-fpm and if it is really that easy…
Maybe there somebody else around with more knowlede in this field?