• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

宝塔安装php不成功怎么办

武飞扬头像
PHP中文网
帮助44

学新通技术网

宝塔安装php不成功怎么办?

问题

宝塔面板PHP 5.2、5.3、5.4、5.5、5.6、7.0、7.1、7.2所有版本均无法安装。

错误信息

checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking for libcurl.pc... not found
configure: WARNING: Could not find libcurl.pc. Try without /usr/local/curl or set PKG_CONFIG_PATH
configure: WARNING: Fallback: search for curl headers and curl-config
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.

故障原因

curl未正确安装

解决方案

# RetHat CentOS or Fedora 使用下面安装命令
yum install curl curl-devel
# Debian or Ubuntu使用下面的安装命令
apt-get install curl
apt-get install libcurl4-gnutls-dev

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /boutique/detail/tangcaabj
系列文章
更多 icon
同类精品
更多 icon
继续加载