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
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.
This is only happens with yii2 based framework
答案 0 :(得分:3)
只需尝试升级php版本。 我使用php 5.5犯了同样的错误,但是使用php 5.6一切正常。
答案 1 :(得分:1)
我也有同样的错误,当我检查error_log文件时,我发现了一个php错误,比如 PHP警告:PHP启动:无法加载动态库'/usr/local/lib/php/extensions/no-debug-non-zts-20100525/timezonedb.so' - / usr / local / lib / php / extensions / no -debug-non-zts-20100525 / timezonedb.so:无法打开共享对象文件:第0行的“未知”中没有此类文件或目录。
我想你的共享主机可能有一些php库错误。所以检查你的error_log文件。它将有助于调试错误。