Nextcloud Webserver Error Notifcation

Hello together,

i got a strange problem on my newly installed nextcloud server which i installed from scratch

i got that error message on Admin Settings/Talk

Could not detect the PHP and Apache configuration because exec is disabled or apachectl is not working as expected. Please note that PHP can only be used with the MPM_PREFORK module and PHP-FPM can only be used with the MPM_EVENT module.

Systemdetails:

OS is Ubuntu 22.04.1 LTS
php8.1.1.14 fpm with event modul enabled
maria db server = 10.6.11
apache2 2.4…52
nextcloud 25.0.2
phh modules installed:
Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache

apcu is enabled, apachectl configtest syntax ok
systemctl status apache2 says running fine
php is running the php_event module

Here is my apache2 configs:

80 vhost

<VirtualHost *:80>

ServerAdmin yxz@proton.me
DocumentRoot /var/www/nextcloud/

ServerName mysite.com
Redirect permanent / https://mysite.com/
Protocols h2 http/1.1

 <Directory /var/www/nextcloud/>
        Options +FollowSymlinks
        AllowOverride All
        Require all granted
          <IfModule mod_dav.c>
            Dav off
          </IfModule>
        SetEnv HOME /var/www/nextcloud
        SetEnv HTTP_HOME /var/www/nextcloud
</Directory>

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined

RewriteEngine on
RewriteCond %{SERVER_NAME} =mysite.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

my 443vhost is:

<IfModule mod_ssl.c>

<VirtualHost *:443>

     ServerAdmin xyz@proton.me
     DocumentRoot /var/www/nextcloud/
     ServerName mysite.com

Protocols h2 http/1.1

<IfModule mod_headers.c>

      Header always set Strict-Transport-Security "max-age=15552000; includeSub>

</IfModule>

 <Directory /var/www/nextcloud/>

        Options +FollowSymlinks
        AllowOverride All
        Require all granted

          <IfModule mod_dav.c>
            Dav off
          </IfModule>

        SetEnv HOME /var/www/nextcloud
        SetEnv HTTP_HOME /var/www/nextcloud

</Directory>

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined

SSLCertificateFile /etc/letsencrypt/live/mysite.com/fullchai>
SSLCertificateKeyFile /etc/letsencrypt/live/mysite.com/privk>
Include /etc/letsencrypt/options-ssl-apache.conf

</VirtualHost>
</IfModule>


Nextcloud runs fine so far, but i cannot connect my Talk App to this Server, it gives an error message that talk is not enabled by administrator and closes after login in.

i got a lxc container running similiar configuration with manual installed nc also with phpfpm 8.1 which doesnt give any error and which is running fine.

The server is not behind a Reverse Proxy. straight port fowarded on a virtual ubuntu machine as mentionend

Do you guys have any idea whats that on. i read a thread where people with nginx are getting that problem, but im running apache2

PS exec is not in the disable_function in the php.ini

Any tips and help is greatly appreciated.

thanku