修复Apache2 mpm prefork与HTTP/2不兼容问题
配置好了http2,通过curl -v –http2发现并没有走h2,在/var/log/大概报个这样的warning: [http2:warn] 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. 大概是mpm的prefork模式和http2不兼容。Google到修补方法:修改mpm模式为event。 参考https://http2.pro/doc/Apache#prefork-http2 ...