寶塔安裝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-dir>
故障原因
立即學習“PHP免費學習筆記(深入)”;
curl未正確安裝
解決方案
#?RetHat?CentOS?or?Fedora?使用下面安裝命令 yum?install?curl?curl-devel #?Debian?or?Ubuntu使用下面的安裝命令 apt-get?install?curl apt-get?install?libcurl4-gnutls-dev
更多寶塔面板使用技術文章,請訪問寶塔使用教程欄目!
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END