Apache/HTTP/MPM/Event: Unterschied zwischen den Versionen

Aus Foxwiki
Keine Bearbeitungszusammenfassung
K Dirkwagner verschob die Seite Apache:Mpm:Event nach Apache/Mpm/Event: Textersetzung - „(.*):(.*):(.*)“ durch „$1/$2/$3“
(kein Unterschied)

Version vom 29. März 2023, 10:54 Uhr

Could not detect the PHP and Apache configuration 
because exec is disabled or apachectl is not working as expected. 
Note
  • 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