22
0
Fork 0

HTTP2 & ITK

This commit is contained in:
Ludovic Poujol 2019-10-03 11:37:45 +02:00
parent bef953d5eb
commit 6a0cb0c801
1 changed files with 10 additions and 0 deletions

View File

@ -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.