LNMP2.0 PHP安装失败
uname -aLinux iZm5e7n4hued5cjrfa4v6lZ 5.10.134-15.1.al8.x86_64 #1 SMP Wed Aug 16 11:40:37 CST 2023 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/os-release
NAME="Alibaba Cloud Linux"
VERSION="3 (Soaring Falcon)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3 (Soaring Falcon)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"
============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
Error: PHP install failed.
Sorry, Failed to install LNMP!
安装日志文件:https://t.wss.ink/f/c47a8gpwhvn 复制链接到浏览器打开
麻烦大佬看一下是哪里的问题
日志中 configure: error: GD build test failed. Please check the config.log for details.
make: *** No targets specified and no makefile found.Stop.
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target 'install'.Stop.
Copy new php configure file...
Modify php.ini......
include/php.sh: line 205: pear: command not found
include/php.sh: line 206: pecl: command not found
Downloading Composer... 建议你换个系统譬如DebianfedoraUbuntu ylgod 发表于 2023-9-6 11:15
建议你换个系统譬如DebianfedoraUbuntu
阿里云ECS,是客户提供的,更换系统有各种不方便的因素 不至于把 我也用阿里云 但不用阿里的系统 checking for external libgd... no
日志中 gd-devel 包已经安装成功,可能就是 gd-devel 安装后某些文件被删除或者没找到libgd
find / -name libgd.so 看一下是否存在
另外不建议使用Alibaba Cloud Linux这类发行版,建议Debian/Ubuntu,再次也得选个centos、alma、rocky等,要选择有大量用户使用验证过的系统 已更换 Anolis OS,lnmp2.0 安装成功
页:
[1]