当前位置:论坛首页 > Linux面板 > 建议

【已解答】php安装失败

发表在 Linux面板2025-4-28 14:00 [复制链接] 6 303

为什么我发求助帖 总说我含不良内容?都是你们报错截图内容啊
error: libSSH2 libs and/or directories were not found where specified

举报 只看该作者 回复
发表于 2025-4-28 14:01:48 | 显示全部楼层
Debian GNU/Linux 12
Bit:64 Mem:8047M Core:4 gcc:12.2.0 cmake:3.25.1Linux 6.12.20+rpt-rpi-2712 aarch64
举报 回复 支持 反对
发表于 2025-4-28 14:02:23 | 显示全部楼层
checking whether to use builtin CA store of SSL library... nochecking for library containing psl builtin... noconfigure:WARNING:libpslwas notfoundchecking for pkg-config...(cached)/bin/pkg-configchecking for libssh2 options with pkg-config... nochecking for libssh2 session block directions in -lssh2... nochecking libssh2.h usability... no
checkinglibssh2.h presence... nochecking for libssh2.h... no
举报 回复 支持 反对
发表于 2025-4-28 15:34:27 | 显示全部楼层
缺少依赖,执行下面命令,重新安装
  1. apt-get update
  2. apt-get install libpsl-dev libicu-dev libidn2-dev -y
复制代码
举报 回复 支持 反对
发表于 2025-4-28 20:30:33 | 显示全部楼层
阿珂 发表于 2025-4-28 15:34
缺少依赖,执行下面命令,重新安装

checking if iconv supports errno... no configure: error: iconv does not support errno make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop.
举报 回复 支持 反对
发表于 2025-4-29 14:53:11 | 显示全部楼层
  1. apt-get update  -y  
  2. apt-get install libticonv-dev -y
复制代码
举报 回复 支持 反对
发表于 2025-4-30 00:07:31 | 显示全部楼层

collect2: error: ld returned 1 exit status make: *** [Makefile:307: sapi/cli/php] Error 1
举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表