问题描述

宝塔面板安装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

标签: 宝塔, php, 安装失败

仅有一条评论

  1. 兰复裁 兰复裁

    请问windos本地搭建的宝塔怎么解决这个问题?

添加新评论