php7.4在Rocky10安装失败
安装目标php7.4mysql8.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)
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
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
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...
^[ 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
页:
[1]