使用 yii2 在网站底部出现奇怪的错误 #32 [英] Strange error #32 on website's bottom using yii2

查看:28
本文介绍了使用 yii2 在网站底部出现奇怪的错误 #32的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 yii2 ,我最近将我的整个网站上传到了 Godaddy 共享服务器上.我已将所有其他文件夹(如控制器、供应商、配置等)上传到根文件夹

I am using yii2 , and I have recently uploaded my whole website on the godaddy shared server. I have uploaded on the root folder my all other folders like controller , vendors , config etc

然后我将我的web"文件夹文件(如 index.php 和主题等)上传到 public_html 文件夹.

Then I have uploaded my "web" folder files like index.php and themes etc to public_html folder.

在服务器上一切正常,但有时突然显示在我的页面末尾.这在我刷新服务器时随机出现,我不确定.

Everything works fine on the server but suddenly sometime it shows at the end of my page. This randomly appear when i refresh my server I am not sure.

Error (#32)
An internal server error occurred.
The above error occurred while the Web server was processing your request.

Please contact us if you think this is a server error. Thank you.

这只发生在基于 yii2 的框架中

This is only happens with yii2 based framework

推荐答案

你只需尝试升级 php 版本.我在使用 php 5.5 时遇到了同样的错误,但使用 php 5.6 一切正常.

Simply you try to upgrade the php version. I've your same error with php 5.5, but with php 5.6 everything works fine.

这篇关于使用 yii2 在网站底部出现奇怪的错误 #32的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆