Apache/HTTP/MPM/Event

Aus Foxwiki
Version vom 21. Dezember 2022, 12:22 Uhr von Dirkwagner (Diskussion | Beiträge) (Dirkwagner verschob die Seite Mpm event nach Apache:Mpm:Event)


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
  • PHP-FPM can only be used with the MPM_EVENT module
# a2enmod mpm_event
Considering conflict mpm_worker for mpm_event:
Considering conflict mpm_prefork for mpm_event:
ERROR: Module mpm_prefork is enabled - cannot proceed due to conflicts. It needs to be disabled first!
mpm_event
# a2dismod mpm_event

Module mpm_event disabled. To activate the new configuration, you need to run:

 systemctl restart apache2
# a2enmod mpm_prefork
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Enabling module mpm_prefork.

To activate the new configuration, you need to run:

 systemctl restart apache2
#  a2enmod php7.2
# systemctl restart apache2