Commit 6e47038b authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '36-always-disable-mod-php8-apache' into 'master'

Resolve "Disable php8.0 on Apache2"

Closes #36

See merge request !13
parents 6aea175c df2f3a16
......@@ -161,7 +161,8 @@ class ISPConfigDebianOS extends ISPConfigBaseOS {
protected function getApacheModulesToDisable() {
$modules = array(
'mpm_prefork'
'mpm_prefork',
'php8.0'
);
return $modules;
......@@ -906,7 +907,7 @@ mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"';
$cmd = 'a2dismod ' . implode(' ', $modules) . ' 2>&1';
$result = $this->exec($cmd);
if($result === false) {
throw new ISPConfigOSException('Command ' . $cmd . ' failed.');
// throw new ISPConfigOSException('Command ' . $cmd . ' failed.');
}
ISPConfigLog::info('Enabling apache modules.', true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment