Apache/HTTP/MPM/Event: Unterschied zwischen den Versionen
K Dirkwagner verschob die Seite Apache:Mpm:Event nach Apache/Mpm/Event: Textersetzung - „(.*):(.*):(.*)“ durch „$1/$2/$3“ |
Keine Bearbeitungszusammenfassung |
||
Zeile 27: | Zeile 27: | ||
# a2enmod php7.2 | # a2enmod php7.2 | ||
# systemctl restart apache2 | # systemctl restart apache2 | ||
= TMP = | |||
[[Kategorie:Apache]] | [[Kategorie:Apache]] |
Version vom 6. August 2023, 07:45 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