之前是windows系统现在迁移到Linux宝塔环境下,,反复确认过wp-config.php文件中的数据库、用户名、密码都没问题。
无奈把数据库删掉重新导入了并改了数据库名字,也删掉了wp-config.php文件,刷新网站后按系统提示输入新的数据库信息后恢复正常。
wordpress的版本很旧了,更新的时候提示:cURL error 60: SSL certificate problem: unable to get local issuer certificate
需要在/wp-content/themes/YOUR_THEME/functions.php:增加
add_filter('https_ssl_verify', '__return_false');
两个小问题,不明所以。。。