Home  >  Article  >  Topics  >  Pagoda failed to install php

Pagoda failed to install php

王林
王林forward
2019-09-10 17:56:316099browse

Pagoda failed to install php

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

First check the installation log:

/tmp/panelExec.log

The cause of failure is determined to be :

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

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

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

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

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete