VPS侦探论坛

 找回密码
 注册
查看: 1230|回复: 2

LNMP PHP安装失败

[复制链接]
发表于 2023-3-23 12:46:42 | 显示全部楼层 |阅读模式

本帖最后由 hsia 于 2023-3-23 12:48 编辑

LNMP1.9

当时只安装了nginx ,没有安装PHP
现在要用到PHP了,
独立安装了MYSQL成功
然后,./upgrade.sh php
输入的7.4.28
  1. <blockquote>2023-03-23 04:31:50 (697 KB/s) - ‘/usr/local/bin/composer’ saved [2834111/2834111]
复制代码

应该怎么处理?


错误在下面
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-3-23 12:47:32 | 显示全部楼层


  1. 2023-03-23 04:31:50 (697 KB/s) - ‘/usr/local/bin/composer’ saved [2834111/2834111]

  2. Composer install successfully.
  3. Install ZendGuardLoader for PHP 7...
  4. unavailable now.
  5. Creating new php-fpm configure file...
  6. Copy php-fpm init.d file...
  7. cp: cannot stat '/root/lnmp1.9/src/php-7.4.28/sapi/fpm/init.d.php-fpm': No such file or directory
  8. chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
  9. +-------------------------------------------+
  10. |    Manager for LNMP, Written by Licess    |
  11. +-------------------------------------------+
  12. |              https://lnmp.org             |
  13. +-------------------------------------------+
  14. Starting LNMP...
  15. Starting nginx...  done
  16. Starting mysql (via systemctl): mysql.service.
  17. /usr/bin/lnmp: line 30: /etc/init.d/php-fpm: No such file or directory
  18. ======== upgrade php failed ======
  19. upgrade php log: /root/upgrade_lnmp_php20230323043009.log
  20. You upload upgrade_lnmp_php.log to LNMP Forum for help.
复制代码
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2023-3-23 19:13:25 | 显示全部楼层

按要求提供完整的升级日志,没日志没法猜测原因
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-7-27 11:33 , Processed in 0.025537 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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