diff --git a/HowtoApache.md b/HowtoApache.md index 0cf64d6c..7e98c698 100644 --- a/HowtoApache.md +++ b/HowtoApache.md @@ -1243,4 +1243,14 @@ Un contournement si on souhaite vraiment inclure qu'un seul fichier qui peut ne IncludeOptional /etc/apache2/ssl/XXX.con[f] ~~~ +### J'ai activé HTTP/2, mais ça ne fonctionne pas :( + +Malheureusement, Apache en mode prefork (ou itk qui est un dérivé du prefork) n'est pas adapté au fonctionnement du protocole HTTP/2. On peut notamment voir dans les journaux le message suivant : + +~~~ +# tail /var/log/apache2/error.log +Thu Oct 02 10:42:00.052627 2019] [http2:warn] [pid 9682] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive. +~~~ + +Dans tous les cas, PHP n'étant pas compatible avec Apache fonctionnant en mode thread, il est nécessaire d'être en mpm prefork ou itk. Donc pas de HTTP/2 possible.