主机php环境升级为php7.0 typecho无法运行,前段时间更改为wordpress了,经过折腾又回到typecho,操作步骤如下:
1、将config.inc.php中$db = new Typecho_Db('Mysql', 'typecho_');更改为$db = new Typecho_Db('Pdo_Mysql', 'typecho_');
2、直接通过http://domain.com/admin/进入后台禁用所有插件,然后启用。