VPS侦探论坛

 找回密码
 注册
查看: 50|回复: 0

php7.4在Rocky10安装失败

[复制链接]
发表于 2026-1-6 15:28:29 | 显示全部楼层 |阅读模式


安装目标  php7.4  mysql8.0
lnmp2.1

lnmp2.2都失败。
系统是 Rocky Linux release 10.1 (Red Quartz)

lnmp2.1 php失败区域
  1. checking for floorf... yes
  2. checking for zlib... yes
  3. checking for libpng... yes
  4. checking for libwebp... yes
  5. checking for libjpeg... yes
  6. checking for freetype2... yes
  7. configure: error: GD build test failed. Please check the config.log for details.
  8. make: *** No targets specified and no makefile found.  Stop.
  9. make: *** No targets specified and no makefile found.  Stop.
  10. make: *** No rule to make target 'install'.  Stop.
  11. Copy new php configure file...
  12. Modify php.ini......
  13. include/php.sh: line 205: pear: command not found
  14. include/php.sh: line 206: pecl: command not found
  15. Downloading Composer...
  16. --2026-01-06 15:05:25--  https://soft.lnmp.com/web/php/composer/composer-2.2.phar
  17. Resolving soft.lnmp.com (soft.lnmp.com)... 61.170.88.242, 61.170.88.203, 182.106.149.181
  18. Connecting to soft.lnmp.com (soft.lnmp.com)|61.170.88.242|:443... connected.
  19. HTTP request sent, awaiting response... 200 OK
  20. Length: 2384623 (2.3M) [application/octet-stream]
  21. Saving to: ‘/usr/local/bin/composer’

  22.      0K .                                   79% 8.39K=3m40s

  23. 2026-01-06 15:09:17 (8.39 KB/s) - Read error at byte 1891907/2384623 (Error in the pull function.). Retrying.

  24. --2026-01-06 15:09:18--  (try: 2)  https://soft.lnmp.com/web/php/composer/composer-2.2.phar
  25. Connecting to soft.lnmp.com (soft.lnmp.com)|61.170.88.242|:443... connected.
  26. HTTP request sent, awaiting response... 206 Partial Content
  27. Length: 2384623 (2.3M), 492716 (481K) remaining [application/octet-stream]
  28. Saving to: ‘/usr/local/bin/composer’

  29.      0K ,.                                 100% 8.15K=59s

  30. 2026-01-06 15:10:18 (8.15 KB/s) - ‘/usr/local/bin/composer’ saved [2384623/2384623]

  31. Composer install successfully.
  32. Install ZendGuardLoader for PHP 7.4...
  33. unavailable now.
  34. Creating new php-fpm configure file...
  35. Copy php-fpm init.d file...
  36. cp: cannot stat '/root/download/lnmp2.1-full/src/php-7.4.33/sapi/fpm/init.d.php-fpm': No such file or directory
  37. chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
  38. Clean PHP src directory...
  39. ^[[0;34m[+] Installing nginx-1.26.0... ^[[0m
  40. groupadd: group 'www' already exists
  41. useradd: user 'www' already exists
复制代码
上传不了附件。就用 链接替代了  http://nas.ddns.yinghualuo.cn:88/data/lnmp-log.7z


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2026-1-23 21:06 , Processed in 0.025066 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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