Bt安装的 PHP 是否支持 http2问题

310 wget -O nghttp2-1.42.0.tar.gz https://github.com/nghttp2/nghttp2/archive/refs/tags/v1.42.0.tar.gz
311 tar -zxf nghttp2-1.42.0.tar.gz
312 cd nghttp2-1.42.0
313 rm -rf /usr/local/nghttp2
314 autoreconf -i
315 automake
316 autoconf
317 ./configure --prefix=/usr/local/nghttp2
318 make clean
319 make -j ${cupnum}
320 make install
321 cd ..

277 wget https://download.bt.cn/src/curl-7.70.0.tar.gz
278 tar -zxf curl-7.70.0.tar.gz
322 cd curl-7.70.0
323 rm -rf /usr/local/curl
324 ./configure --prefix=/usr/local/curl --enable-ares --without-nss --with-ssl=/usr/local/openssl --with-nghttp2=/usr/local/nghttp2
325 make
326 make install
327 export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib64:$LD_LIBRARY_PATH

BT通过编译安装php
--with-curl=/usr/local/curl

标签: none

添加新评论

人机验证正在加载....