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

kabamgamer's avatar

Laravel 5 shows white screen after deployment on server

Hi all,

I have a problem with my laravel online deployment. After I uploaded my laravel project to the server, my url is just showing me a blanke page. It is my first laravel website and I'm stuck with this problem for a week right now. I just can't find the problem.

My url is: https://lankhaardesign.nl/

Weird thing is: It doesn't matter what url I'm pointing to, the screen will always be white. Even if the URL doesn't even exist for example: https://lankhaardesign.nl/abcdefghijklmnop.

Does this has something to do with my .htaccess? My htacces looks like this: Options -MultiViews -Indexes

RewriteEngine On

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

# Handle ssl
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://YOURWEBSITEDOMAIN/ [R,L]

This laravel project works fine in my local environment by the way.

Please help me. Can someone solve this problem with me?

0 likes
5 replies
Uxibete's avatar
Uxibete
Best Answer
Level 1

Hi,

I think it's a permission problem with your 'storage' directory.

Try this :

chmod 777 -R storage 
1 like
mcangueiro's avatar

I actually visited your website and instead of getting the dreadful white page I got a 500 error.

rin4ik's avatar

did you put your files on public html folder ?

XanderLuciano's avatar

I just tried visiting the http version of your site, and your .htaccess is wrong. It redirected me to literally 'YOURWEBSITEDOMAIN', so you probably want to change that last line to:

RewriteRule ^(.*)$ https://lankhaarddesign.nl/ [L,R=301]

Please or to participate in this conversation.