Home > Topics > Pagoda Panel > Pagoda failed to install php

Pagoda failed to install php

王林
Release: 2019-09-11 10:22:21
forward
6207 people have browsed it

Pagoda failed to install php

A solution to the failure of Pagoda Linux to install php:

First check the installation log:

/tmp/panelExec.log
Copy after login

The cause of failure is determined to be :

configure: error: Please reinstall the libcurl distribution -
    easy.h should be in /include/curl/
Copy after login

Locate from lib.sh and find that curl will be downloaded from the pagoda

	curl_version="7.54.1"
	if [ ! -f "curl-$curl_version.tar.gz" ];then
		wget -O curl-$curl_version.tar.gz ${download_Url}/src/curl-$curl_version.tar.gz -T 5
	fi
	tar zxf curl-$curl_version.tar.gz
Copy after login

After downloading, place it in the /root directory, check the /root directory

baghnac@xubuntu-Lenovo:~/code$ sudo ls -l /root/
总用量 0
-rw-r--r-- 1 root root 0 10月  5 15:10 curl-7.54.1.tar.gz
Copy after login

It is found that the file size is 0, and there is a judgment in the script, if it exists , it will not re-download, so it keeps failing. Delete the file and reinstall it and the problem will be solved

sudo rm /root/curl-7.54.1.tar.gz
Copy after login

The above content only introduces one solution, for reference only!

Recommended tutorial: Pagoda usage tutorial

The above is the detailed content of Pagoda failed to install php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template