宝塔面板安装php报错error : cannot open Packages index using db5怎么解决?
我的宝塔是,宝塔7.8.0版本的,然后在安装php的时候出现错误,报错了。
提示:error: rpmdb: BDB0113 Thread/process 14635/ 140646819035200 failed: BDB
1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_ RUNRECOVERY:
Fatal error, run database recovery
error: cannot open Packages index using db5 - ( - 30973 )
error: cannot open Packages database in /var/lib/ rpm
error: rpmdb: BDB0113 Thread/process 14635/ 140646819035200 failed: BDB
1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_ RUNRECOVERY:
Fatal error, run database recovery
error: cannot open Packages database in /var/ lib/ rpm
sed: can't read /www/server/php/ 70/etc/php.ini: No such file or direct
ory
sed: can't read /www/server/php/70/etc/php.ini: No such file or direct
ory
sed: can't read /www/server/php/ 70/etc/php-fpm.conf: No such file or d
irectory
php.sh: line 160: /etc/init.d/php-fpm-70: No such file or directory
php.sh: line 162: /etc/init.d/php-fpm-70: No such file or directory
| - Successify --
命令已执行! ---