Home >Topics >Pagoda Panel >What should I do if Pagoda fails to install PHP?

What should I do if Pagoda fails to install PHP?

藏色散人
藏色散人Original
2019-08-26 13:25:4415010browse

What should I do if Pagoda fails to install PHP?

What should I do if Pagoda fails to install php?

Problem

All versions of Pagoda Panel PHP 5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, and 7.2 cannot be installed.

Error message

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&#39;.  Stop.

Cause of failure

curl is not installed correctly

Solution

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

For more technical articles on the use of Pagoda panels, please visit the Pagoda usage tutorial column!

The above is the detailed content of What should I do if Pagoda fails to install PHP?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn