From c650f2b6fab840873ae3c70a6a5e0cd8f2f2efc4 Mon Sep 17 00:00:00 2001 From: zyimm Date: Tue, 1 Aug 2023 10:23:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AFphp-ext=20http=20=E6=89=A9=E5=B1=95?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _posts/编程/PHP/install-php-ext-http.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_posts/编程/PHP/install-php-ext-http.md b/_posts/编程/PHP/install-php-ext-http.md index e39ac1c..ab45b11 100644 --- a/_posts/编程/PHP/install-php-ext-http.md +++ b/_posts/编程/PHP/install-php-ext-http.md @@ -1,5 +1,5 @@ --- -title: PHP安装http扩展一些问题解决 +title: ⛰PHP安装http扩展一些问题解决 date: 2023-08-01 tags: PHP --- @@ -7,6 +7,8 @@ tags: PHP # 有关错误集锦 +以下我遇到错误解决办法 + 1. checking whether libcurl version >= 7.18.2... configure: error: no 这个类似这样错误需要确认libcurl,curl-dev是否正确安装,基于不同发行版docker可能包名不一致,需要根据实际情况区别!以下是基于alpine docker 安装命令 @@ -14,6 +16,7 @@ tags: PHP apk add libcurl curl-dev ``` libcurl curl-dev 是linux下curl开发一系列依赖库和文件。http扩展需要curl,所以需要安装相关依赖! + 2. please install and enable pecl/raphf 这个问题需要确认`pecl/raphf`扩展是否安装,如果没有需要执行: @@ -25,6 +28,8 @@ pecl install pecl/raphf docker-php-ext-enable raphf ``` +raphf 用于提供高级的哈希函数和消息认证码(MAC),提供一些加密算法,用来保护数据安全性! + # 安装验证