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

Aus Foxwiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 29: Zeile 29:
  #  a2enmod php7.2
  #  a2enmod php7.2
  # systemctl restart apache2
  # systemctl restart apache2
[[Kategorie:Apache]]
[[Kategorie:Apache]]
{{DEFAULTSORT:mpm_event}}

Version vom 21. Dezember 2022, 12:25 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