Laravel wsod (white screen of death) on godaddy hosting
I'm developing a laravel 5.1 application which is working absolutely fine on my localhost. But when I deploy it to GoDaddy's shared hosting, it gives a blank white page on opening the domain.
I have followed this tutorial to upload to the server. http://www.nickmarriotti.com/blog/deploying-laravel-5-project-to-godaddy
How can I resolve this error problem? Any help will be appreciated.
Thanks
Kindly check the file permissions. Generally this issue comes when file permissions are not as it should be. Better call the GoDaddy customer care and they will run a quick check and will tell you if there is any problem with file permissions.
Also, GoDaddy Server, I mean CPanel by default supports a lower PHP Version. Where as New versions of laravel requires PHP >= 5.5.9. Kindly tell GoDaddy guys to upgrade your Server PHP version.
Follow these two steps and you should be fine.
This is one of the most common installation errors caused by invalid permissions. Please login via ssh to your server and run this command to fix it.
chmod -R 777 LARAVEL/storage
Here LARAVEL
is the path to your laravel installation in Laravel 5.*
, while as for Laravel 4.*
, LARAVEL
will be path/to/laravel/app
, as storage
resides inside app
directory in Laravel 4.*
installations.
上一篇: 与codeigniter死亡的白色屏幕