使用yii2在网站底部出现奇怪的错误#32

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

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.

I have also got same error, when I check error_log file, I found a php error like, PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0.

I think you may have some php library error in your shared hosting. So check your error_log file. It will helpfull to debugg error.