当前位置:论坛首页 > Linux面板 > 求助

【已完成】php安装失败,修复和重启过面板均无效

发表在 Linux面板2023-11-19 17:57 [复制链接] 11 838

宝塔版本:免费版8.0.4, php8.2
系统版本:Ubuntu 22.04.3 LTS x86_64(Py3.7.9)
问题描述:启动php提示libwebp.so.6, 安装libwebp-dev等都试过,不行,所以打算卸载php8.2重装,点了修复面板以后,重装直接秒退...相关截图(日志、错误)





使用道具 举报 只看该作者 回复
发表于 2023-11-19 17:58:50 | 显示全部楼层
错误截图
1700387864902.jpg
1700387878471.jpg
使用道具 举报 回复
发表于 2023-11-20 10:40:51 | 显示全部楼层
一直等待执行,可以尝试重启一下面板
使用道具 举报 回复 支持 反对
发表于 2023-11-20 10:52:23 | 显示全部楼层
阿珂 发表于 2023-11-20 10:40
一直等待执行,可以尝试重启一下面板

我重装了面板就可以正常安装了,装了php7.4和php8.2,7.4运行正常,但是8.2启动报错
/www/server/php/82/sbin/php-fpm: symbol lookup error: /www/server/php/82/sbin/php-fpm: undefined symbol: EVP_md2, version OPENSSL_1_1_0
使用道具 举报 回复 支持 反对
发表于 2023-11-20 10:53:53 | 显示全部楼层
阿珂 发表于 2023-11-20 10:40
一直等待执行,可以尝试重启一下面板

如图所示
1700448767773.jpg
使用道具 举报 回复 支持 反对
发表于 2023-11-20 11:33:15 | 显示全部楼层
下载
  1. http://vault.centos.org/8.2.2004/BaseOS/Source/SPackages/krb5-1.17-18.el8.src.rpm
复制代码

安装
  1. rpm -ivh krb5-1.17-18.el8.src.rpm
复制代码

重启面板
  1. bt 1
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-11-20 11:47:54 | 显示全部楼层

我的是ubuntu22.04也是用这个命令吗
使用道具 举报 回复 支持 反对
发表于 2023-11-20 11:57:23 | 显示全部楼层

root@ecm-fd07:~# sudo rpm -ivh krb5-1.17-18.el8.src.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
warning: krb5-1.17-18.el8.src.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
Updating / installing...
   1:krb5-1.17-18.el8                 warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root

第二步提示上面的错误
使用道具 举报 回复 支持 反对
发表于 2023-11-20 12:00:15 | 显示全部楼层
  1. root@ecm-fd07:~# sudo useradd -s /sbin/nologin mockbuild
  2. root@ecm-fd07:~# sudo rpm -ivh krb5-1.17-18.el8.src.rpm
  3. rpm: RPM should not be used directly install RPM packages, use Alien instead!
  4. rpm: However assuming you know what you are doing...
  5. warning: krb5-1.17-18.el8.src.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
  6. Updating / installing...
  7.    1:krb5-1.17-18.el8                 ################################# [100%]
  8. root@ecm-fd07:~# bt 1
  9. ===============================================
  10. 正在执行(1)...
  11. ===============================================
  12. Stopping Bt-Tasks...        done
  13. Stopping Bt-Panel...        done
  14. Starting Bt-Panel....        done
  15. Starting Bt-Tasks...         done
  16. root@ecm-fd07:~#
复制代码


前往面板启动,仍然报原来的错误
使用道具 举报 回复 支持 反对
发表于 2023-11-20 12:15:04 | 显示全部楼层
这个是php和openssl不兼容
服务器openssl升级过或者是最新的就会出现这个问题
可以尝试降级openssl版本

使用道具 举报 回复 支持 反对
发表于 2023-11-20 12:31:27 | 显示全部楼层
阿珂 发表于 2023-11-20 12:15
这个是php和openssl不兼容
服务器openssl升级过或者是最新的就会出现这个问题
如果上面的包,仍没有办法解 ...

这样话我把openssl降级试试了
使用道具 举报 回复 支持 反对
发表于 2023-11-20 13:59:44 | 显示全部楼层
根据这个帖子
https://blog.csdn.net/qq_51117542/article/details/127136588
降级回 1.1.1版本的openssl
再卸载php8.2编译重装回来就可以了
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表