a-xu


1、server端
nginx编译时增加参数
configure --with-http_v2_module

    server {
        listen       80 http2;
        server_name  localhost;
    }

编译nghttp2包
wget https://github.com/nghttp2/nghttp2/releases/download/v1.40.0/nghttp2-1.40.0.tar.gz
./configure
make
make install

安装libcurl

wget https://curl.haxx.se/download/curl-7.67.0.tar.g
./configure  --with-nghttp2 --with-ssl  --with-zlib
make
make install

编译php

增加参数  --with-curl 即可


分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-08
  • 2021-08-29
  • 2021-08-09
  • 2022-01-07
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-02
  • 2021-12-15
  • 2021-11-16
  • 2021-12-06
  • 2021-06-26
相关资源
相似解决方案