宝塔面板安装php,提示成功其实失败的解决方案
问题描述
宝塔面板安装php,消息盒子提示安装成功。
但是,应用列表中并没有显示。查看日志,可以看到如下信息:
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.
解决方案
ssh登陆服务器,执行如下命令,然后重新安装php即可成功安装。
apt-get install curl apt-get install libcurl4-gnutls-dev