VPS侦探论坛
标题:
php7.4在Rocky10安装失败
[打印本页]
作者:
ritaswc
时间:
2026-1-6 15:28
标题:
php7.4在Rocky10安装失败
安装目标 php7.4 mysql8.0
lnmp2.1
lnmp2.2都失败。
系统是 Rocky Linux release 10.1 (Red Quartz)
lnmp2.1 php失败区域
checking for floorf... yes
checking for zlib... yes
checking for libpng... yes
checking for libwebp... yes
checking for libjpeg... yes
checking for freetype2... yes
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...
--2026-01-06 15:05:25-- https://soft.lnmp.com/web/php/composer/composer-2.2.phar
Resolving soft.lnmp.com (soft.lnmp.com)... 61.170.88.242, 61.170.88.203, 182.106.149.181
Connecting to soft.lnmp.com (soft.lnmp.com)|61.170.88.242|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2384623 (2.3M) [application/octet-stream]
Saving to: ‘/usr/local/bin/composer’
0K . 79% 8.39K=3m40s
2026-01-06 15:09:17 (8.39 KB/s) - Read error at byte 1891907/2384623 (Error in the pull function.). Retrying.
--2026-01-06 15:09:18-- (try: 2) https://soft.lnmp.com/web/php/composer/composer-2.2.phar
Connecting to soft.lnmp.com (soft.lnmp.com)|61.170.88.242|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 2384623 (2.3M), 492716 (481K) remaining [application/octet-stream]
Saving to: ‘/usr/local/bin/composer’
0K ,. 100% 8.15K=59s
2026-01-06 15:10:18 (8.15 KB/s) - ‘/usr/local/bin/composer’ saved [2384623/2384623]
Composer install successfully.
Install ZendGuardLoader for PHP 7.4...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat '/root/download/lnmp2.1-full/src/php-7.4.33/sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
Clean PHP src directory...
^[[0;34m[+] Installing nginx-1.26.0... ^[[0m
groupadd: group 'www' already exists
useradd: user 'www' already exists
复制代码
上传不了附件。就用 链接替代了 http://nas.ddns.yinghualuo.cn:88/data/lnmp-log.7z
作者:
iquan
时间:
2026-2-28 09:23
可以参考我的博客 https://deyun.fun/archives/278/
作者:
iquan
时间:
2026-3-2 20:51
参考我的 Rockylinux9-10安装nginx+php+mariadb保姆级教程 ,新版的php在安装方式上已经有改变了,但军哥的脚本没有更新
欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/)
Powered by Discuz! X3.4