Home >Topics >Pagoda Panel >Pagoda panel failed to install php
What should I do if the pagoda panel fails to install php?
A solution to the failure of Pagoda Linux installation of php
First check the installation log,
/tmp/panelExec.log
determine the cause of failure is
configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/
From lib Locate in .sh and find that curl will download 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
and find that the file size is 0, and there is a judgment in the script , if it exists, it will not be re-downloaded, 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
For more technical articles on the use of Pagoda panel, please visit the Pagoda usage tutorial column!
The above is the detailed content of Pagoda panel failed to install php. For more information, please follow other related articles on the PHP Chinese website!