【已完成】php安装失败,修复和重启过面板均无效
宝塔版本:免费版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-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:40
一直等待执行,可以尝试重启一下面板
如图所示
下载
http://vault.centos.org/8.2.2004/BaseOS/Source/SPackages/krb5-1.17-18.el8.src.rpm
安装
rpm -ivh krb5-1.17-18.el8.src.rpm
重启面板
bt 1 阿珂 发表于 2023-11-20 11:33
下载
安装
我的是ubuntu22.04也是用这个命令吗 阿珂 发表于 2023-11-20 11:33
下载
安装
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
第二步提示上面的错误 root@ecm-fd07:~# sudo useradd -s /sbin/nologin mockbuild
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 #################################
root@ecm-fd07:~# bt 1
===============================================
正在执行(1)...
===============================================
Stopping Bt-Tasks... done
Stopping Bt-Panel... done
Starting Bt-Panel.... done
Starting Bt-Tasks... done
root@ecm-fd07:~#
前往面板启动,仍然报原来的错误 这个是php和openssl不兼容
服务器openssl升级过或者是最新的就会出现这个问题
可以尝试降级openssl版本
阿珂 发表于 2023-11-20 12:15
这个是php和openssl不兼容
服务器openssl升级过或者是最新的就会出现这个问题
如果上面的包,仍没有办法解 ...
这样话我把openssl降级试试了 根据这个帖子
https://blog.csdn.net/qq_51117542/article/details/127136588
降级回 1.1.1版本的openssl
再卸载php8.2编译重装回来就可以了 我现在就是openssl1.1.1 还是那个故障
页:
[1]