Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

noblemfd's avatar

This page isn’t working laraapps.net is currently unable to handle this request. HTTP ERROR 500

I deployed my Laravel-5.8 to Digital Ocean.

But I got this error:

This page isn’t working laraapps.net is currently unable to handle this request. HTTP ERROR 500

I ran these commands:

sudo chgrp -R www-data storage bootstrap/cache 
sudo chmod -R ug+rwx storage bootstrap/cache
sudo chmod -R 755 /var/www/html/laraapps
sudo chmod -R o+w /var/www/html/laraapps/storage/

php artisan config:cache
php artisan cache:clear

But the error still persists.

What do I do?

Thanks

0 likes
3 replies
deansatch's avatar
Level 24

I have always found this is all that is needed for DO deployment:

sudo chmod -R www-data:www-data storage //assuming you are already  in your app directory otherwise provide the path

On top of that, check your server logs (not your laravel storage ones) and it should give a proper explanation of the error.

noblemfd's avatar

When I ran this command:

/var/www/html/laraapss# sudo chmod -R www-data:www-data storage

I got this error:

chmod: invalid-mod: 'www-data:www-data

deansatch's avatar

sorry that should have been chown, not chmod

Please or to participate in this conversation.