Typecho 1.1 (17.10.30)最新稳定版安装出现问题导致无法安装的解决

首页电脑网络Typecho 1.1 (17.10.30)最新稳定版安装出现问题导致无法安装的解决(2018年04月25日)

闲着没事发现typecho已经在去年就更新到1.1稳定版了,就搞了个来安装玩玩,结果在安装的时候怎么倒腾都出错啊,如图(借用论坛ins的图片):

typecho安装错误

错误日志大致如下:


[24-Apr-2018 11:41:40 Asia/Hong_Kong] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/rgbcom/domains/xxx.com/public_html/xxxx/install.php:205) in /home/rgbcom/domains/xxx.com/public_html/xxxx/var/Typecho/Cookie.php on line 102 [24-Apr-2018 11:41:40 Asia/Hong_Kong] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/rgbcom/domains/xxx.com/public_html/xxxx/install.php:205) in /home/rgbcom/domains/xxx/public_html/xxxx/install.php on line 584 [24-Apr-2018 11:41:53 Asia/Hong_Kong] Table 'aaa.typecho_options' doesn't exist [24-Apr-2018 11:42:00 Asia/Hong_Kong] Table 'aaa.typecho_options' doesn't exist [24-Apr-2018 11:44:08 Asia/Hong_Kong] Table 'aaa.typecho_options' doesn't exist [24-Apr-2018 11:44:10 Asia/Hong_Kong] Table 'aaa.typecho_options' doesn't exist [24-Apr-2018 11:44:11 Asia/Hong_Kong] Table 'aaa.typecho_options' doesn't exist [24-Apr-2018 11:44:12 Asia/Hong_Kong] Table 'aaa.typecho_options' doesn't exist [24-Apr-2018 11:44:13 Asia/Hong_Kong] Table 'aaa.typecho_options' doesn't exist [24-Apr-2018 11:49:49 Asia/Hong_Kong] Table 'aaa.typecho_options' doesn't exist [24-Apr-2018 11:50:51 Asia/Hong_Kong] Table 'aaa.typecho_options' doesn't exist [24-Apr-2018 12:08:38 Asia/Hong_Kong] Table 'aaa.typecho_options' doesn't exist


这个最后发现是PHP版本问题,Typecho需要PHP 5.6及以上的环境才能运行。

去虚拟主机后台把默认的PHP版本native切换成5.6就可以了。

然后 set as current ,然后回去安装就一切顺利了。

添加新评论 »

You must enable javascript to see captcha here!