Problem after apache2 update and change to mpm_event

Nextcloud version: 22.2.3
Operating system and version: opensuse leap 15.3
Apache or nginx version: Apache/2.4.43
PHP version: PHP 7.4.27

The issue you are facing:
The server only delivers raw index.php file.

Is this the first time you’ve seen this error? : Y
With upgrade to leap 15.3 opensuse updated Apache and I had to change to mpm_event module (apache didn’t start in old configuration with mpm_prefork).

Steps to replicate it:

  1. it occurs permanently

The output of your Nextcloud log in Admin > Logging:

Sorry, unable to retrieve any suitable logging.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'xxxxxxxxxxx',
  'passwordsalt' => 'xxxxxxxxxxxxxxxxxxxx',
  'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'trusted_domains' =>
  array (
    0 => 'intern',
    1 => 'extern',
    2 => 'localhost',
    3 => 'localIP',
  ),
  'datadirectory' => '/home/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '22.2.3.0',
  'overwrite.cli.url' => 'http://intern/nextcloud',
  'dbname' => 'nextcloud_db',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'user',
  'dbpassword' => 'xxxxxxxxxx',
  'installed' => true,
  'updater.release.channel' => 'stable',
  'maintenance' => false,
  'share_folder' => '/Freigaben/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'filelocking.enabled' => 'true',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/ncredis.sock',
    'port' => 0,
    'password' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    'timeout' => 0.0,
  ),
  'theme' => '',
  'loglevel' => 2,
  'default_language' => 'de',
  'default_locale' => 'de_DE',
  'default_phone_region' => 'DE',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'pipe',
  'mail_from_address' => 'nextcloud',
  'mail_domain' => 'xxxxxxxxx.de',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'xxxxxxxxxxx.de',
  'mail_smtpport' => '587',
  'mail_smtpname' => 'user@xxxxxxxxxxxx.de',
  'mail_smtppassword' => 'xxxxxxxxxx',
  'activity_expire_days' => 28,
  'trashbin_retention_obligation' => 'auto, 28',
  'versions_retention_obligation' => 'auto, 28',
  'encryption.legacy_format_support' => false,
  'encryption.key_storage_migrated' => false,
);

The output of your Apache/nginx/system log in /var/log/____:

[Fri Dec 17 20:57:10.975048 2021] [so:warn] [pid 19980:tid 140289930674368] AH01574: module headers_module is already loaded, skipping
[Fri Dec 17 20:57:10.975095 2021] [so:warn] [pid 19980:tid 140289930674368] AH01574: module env_module is already loaded, skipping
[Fri Dec 17 20:57:10.975550 2021] [so:warn] [pid 19980:tid 140289930674368] AH01574: module http2_module is already loaded, skipping
[Fri Dec 17 20:57:10.982956 2021] [mpm_event:notice] [pid 19980:tid 140289930674368] AH00489: Apache/2.4.43 (Linux/SUSE) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Dec 17 20:57:10.983026 2021] [core:notice] [pid 19980:tid 140289930674368] AH00094: Command line: '/usr/sbin/httpd-event -D SYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'
[Fri Dec 17 20:58:11.383403 2021] [mpm_event:notice] [pid 19980:tid 140289930674368] AH00492: caught SIGWINCH, shutting down gracefully
e

Solved by apache and php re-installation.