VPS侦探论坛

 找回密码
 注册
查看: 871|回复: 1

lnmp安装php7.4.33失败

[复制链接]
发表于 2023-10-20 09:34:12 | 显示全部楼层 |阅读模式


  1. configure: error: Package requirements (libwebp) were not met:

  2. No package 'libwebp' found

  3. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  4. installed software in a non-standard prefix.

  5. Alternatively, you may set the environment variables WEBP_CFLAGS
  6. and WEBP_LIBS to avoid the need to call pkg-config.
  7. See the pkg-config man page for more 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. --2023-10-20 09:19:36--  https://soft.lnmp.com/web/php/composer/composer-2.2.phar
  17. Resolving soft.lnmp.com (soft.lnmp.com)... failed: Name or service not known.
  18. wget: unable to resolve host address ‘soft.lnmp.com’
  19. Composer install failed, try to from composer official website...
  20. include/php.sh: line 220: php: command not found
  21. curl: (6) Could not resolve host: getcomposer.org; Unknown error
  22. Install ZendGuardLoader for PHP 7.4...
  23. unavailable now.
  24. Creating new php-fpm configure file...
  25. Copy php-fpm init.d file...
  26. cp: cannot stat ‘/root/Downloads/lnmp2.0-full/src/php-7.4.33/sapi/fpm/init.d.php-fpm’: No such file or directory
  27. Clean PHP src directory...
  28. [+] Installing nginx-1.24.0...
  29. groupadd: group 'www' already exists
  30. useradd: user 'www' already exists
  31. openssl-1.1.1t.tar.gz [found]
  32. Uncompress nginx-1.24.0.tar.gz...
  33. cd nginx-1.24.0...
  34. checking for OS
  35. + Linux 3.10.0-957.el7.x86_64 x86_64
  36. checking for C compiler ... found
  37. + using GNU C compiler
  38. + gcc version: 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
复制代码







找不到init.d.php-fpm这个文件,不过有个init.d.php-fpm.in文件
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2023-10-23 08:16:56 | 显示全部楼层


需要提供完整日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-13 06:50 , Processed in 0.035013 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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