VPS侦探论坛

 找回密码
 注册
查看: 1342|回复: 3

PHP 升级失败后, 不知道怎么操作了.

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

操作PHP升级不成功后, 就一直这样了, 要怎么处理呢?

  1. libc-client2007e-dev is already the newest version (8:2007f~dfsg-7+b1).
  2. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  3. Reading package lists...
  4. Building dependency tree...
  5. Reading state information...
  6. xz-utils is already the newest version (5.2.5-2.1~deb11u1).
  7. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  8. Reading package lists...
  9. Building dependency tree...
  10. Reading state information...
  11. libexpat1-dev is already the newest version (2.2.10-2+deb11u5).
  12. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  13. Reading package lists...
  14. Building dependency tree...
  15. Reading state information...
  16. bzip2 is already the newest version (1.0.8-4).
  17. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  18. Reading package lists...
  19. Building dependency tree...
  20. Reading state information...
  21. libbz2-dev is already the newest version (1.0.8-4).
  22. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  23. Reading package lists...
  24. Building dependency tree...
  25. Reading state information...
  26. libsqlite3-dev is already the newest version (3.34.1-3).
  27. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  28. Reading package lists...
  29. Building dependency tree...
  30. Reading state information...
  31. libonig-dev is already the newest version (6.9.6-1.1).
  32. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  33. Reading package lists...
  34. Building dependency tree...
  35. Reading state information...
  36. libwebp-dev is already the newest version (0.6.1-2.1).
  37. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
复制代码




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


再升级选择PHP都没有了.

  1. Enter your choice (1, 2, 3, 4, 5, 6, 7 or exit): 4
  2. include/main.sh: line 818: /usr/local/php/bin/php-config: No such file or directory
  3. include/main.sh: line 819: /usr/local/php/bin/php-config: No such file or directory
  4. Current PHP Version:
  5. You can get version number from http://www.php.net/
  6. Please enter a PHP Version you want:
复制代码
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2023-4-17 17:30:52 | 显示全部楼层

什么系统及版本?
lnmp什么版本?
升级前php什么版本,要升级到哪个版本?
按反馈必读要求提供完整的升级日志

另外升级失败的话官网升级教程里面有具体恢复的方法
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-4-17 20:17:06 | 显示全部楼层



licess 发表于 2023-4-17 17:30
什么系统及版本?
lnmp什么版本?
升级前php什么版本,要升级到哪个版本?

是我搞错了, 我是LNMP1.9版本, 一开始升级PHP到8.2.5失败了, 后来看版本日志发现1.9不支持8.2, 现在从新安装了.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-5 12:14 , Processed in 0.026263 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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