php - 编译php7.2时出现curl版本错误
问题描述
我正在尝试使用 openlitespeed 管理面板编译 php7.2。我被错误困住了
checking for cURL support... yes
checking for libcurl.pc... using default path
checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
**ERROR** Could not configure PHP build
我检查了 curl 版本curl -V
的完整输出
curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.0gzlib/1.2.11libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Release-Date: 2018-01-24
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3
pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL
现有phpinfo();
页面也显示 cURL7.58.0
以前我已经成功编译了php7.1。
解决方案
推荐阅读
- python - 如何在python中创建一个链表
- python - 使用 write() 方法合并两个文本文件时删除了行
- c# - A way to add int value to textbox with a button click and then subtract from the int value with another button
- python - 从蒙特卡洛总结场景
- java - 从不同的类访问时方法不执行
- swift - 通过 Segue 将对象从表视图单元传递到另一个视图控制器
- node.js - 无法从 Gitlab CI/CD 在 AWS RDS 数据库中运行迁移
- eclipse - Maven API 在服务器(Tomcat 7)上部署时不响应
- excel - 如何在另一列的一列中查找值并返回找到值的行中的单元格
- c# - 从 edmx 模型调用实体框架创建的实体时出错