config.inc.php 文件把原来的
$db = new Typecho_Db('Mysql', 'typecho_');
修改为
$db = new Typecho_Db('Pdo_Mysql', 'typecho_');
即可!
apache 下的伪静态.htaccess内容如下
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
评论 (0)