当前位置:论坛首页 > Linux面板 > 求助

【待反馈】php8.1安装失败

发表在 Linux面板2024-3-16 18:22 [复制链接] 4 159

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:8.0.5 php8.1

系统版本:d e b i a n 1 2 a r m 6 4

问题描述:无法安装

相关截图(日志、错误):

使用道具 举报 只看该作者 回复
发表于 2024-3-16 18:28:44 | 显示全部楼层

D e b i a n G N U/Linux 1 2
\l
Bit:6 4 M e m : 8 0 5 2 M   C o r e : 4   g c c : 1 2 . 2 . 0   c m a ke : 3  .2 5  . 1
L in u x   6 . 6. 2 0 +r p t - r pi - 2 7  1 2   a ar c h 6  4
E R R OR :   p  h   p - 8 . 1 .2 7   i n s ta l l   fa i l e d.

============================================
使用道具 举报 回复 支持 反对
发表于 2024-3-16 18:33:01 | 显示全部楼层
checking if socketpair is prototyped... yes
checking if socketpair is compilable... yes
checking if socketpair usage allowed... yes
checking if socketpair might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if strerror_r can be linked... yes
checking if strerror_r is prototyped... yes
checking if strerror_r is compilable... yes
checking if strerror_r is glibc like... no
checking if strerror_r is POSIX like... yes
checking if strerror_r seems to work... yes
checking if strerror_r usage allowed... yes
checking if strerror_r might be used... yes
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking if strncasecmp can be linked... yes
checking if strncasecmp is prototyped... yes
checking if strncasecmp is compilable... yes
checking if strncasecmp usage allowed... yes
checking if strncasecmp might be used... yes
checking if strncmpi can be linked... no
checking if strncmpi might be used... no
checking if strnicmp can be linked... no
checking if strnicmp might be used... no
checking if strstr can be linked... yes
checking if strstr is prototyped... yes
checking if strstr is compilable... yes
checking if strstr usage allowed... yes
checking if strstr might be used... yes
checking if strtok_r can be linked... yes
checking if strtok_r is prototyped... yes
checking if strtok_r is compilable... yes
checking if strtok_r usage allowed... yes
checking if strtok_r might be used... yes
checking if strtoll can be linked... yes
checking if strtoll is prototyped... yes
checking if strtoll is compilable... yes
checking if strtoll usage allowed... yes
checking if strtoll might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking if writev can be linked... yes
checking if writev is prototyped... yes
checking if writev is compilable... yes
checking if writev usage allowed... yes
checking if writev might be used... yes
checking whether getpwuid_r is declared... yes
checking for fnmatch... yes
checking for geteuid... yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for getppid... yes
checking for getpwuid... yes
checking for getpwuid_r... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for if_nametoindex... yes
checking for mach_absolute_time... no
checking deeper for mach_absolute_time... but still no
checking for pipe... yes
checking for setlocale... yes
checking for setmode... no
checking deeper for setmode... but still no
checking for setrlimit... yes
checking for usleep... yes
checking for utime... yes
checking for utimes... yes
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking for perl... /bin/perl
checking for gnroff... no
checking for nroff... /bin/nroff
checking how to use *nroff to get plain text from man pages... -man
checking for pkg-config... (cached) /bin/pkg-config
checking for libcares options with pkg-config... no
checking that c-ares is good and recent enough... no
configure: error: c-ares library defective or too old
========================================================
使用道具 举报 回复 支持 反对
发表于 2024-3-18 12:24:00 | 显示全部楼层
宝塔用户_pgvnnu 发表于 2024-3-16 18:33
checking if socketpair is prototyped... yes
checking if socketpair is compilable... yes
checking if  ...

您好,您手动安装下缺少的依赖
  1. apt update -y
  2. apt install c-ares-dev -y
复制代码

然后重新安装下php
使用道具 举报 回复 支持 反对
发表于 2024-3-21 12:33:52 | 显示全部楼层
大炮运维V587 发表于 2024-3-18 12:24
您好,您手动安装下缺少的依赖

然后重新安装下php

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package c-ares-dev
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

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