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

mjamieson's avatar

Moved from local to server. Get a white screen with NULL

Hey Guys,

I am in the process of moving my app onto a Digital Ocean droplet. I pulled the package in via git and ran composer install to pull in all dependancies. I also changed permissions on the storage folder to 777 ( 644 and 755 didn't work ).

When i go to the site i currently only see a white screen with NULL. There are no errors in the Laravel logs. The issue is happening in the public/index.php file at the line....

$response = $kernel->handle(
        $request = Illuminate\Http\Request::capture()
);

As it stands this problem is above me and i would appreciate any help you could give.

0 likes
9 replies
IJack's avatar

I had the same problem. I guess that you didn't had any errors in your laravel error log, right? My problem was simple, I had just the wrong PHP version. I updated to PHP 5.5 and all worked fine. By the way, I use shared hosting with laravel 5.1.11. Good luck!

mjamieson's avatar

IJack,

I updated my version of php to no avail. There are no errors in the apache logs or the Laravel logs.

IJack's avatar
IJack
Best Answer
Level 1

What version do you currently have? I think the easiest way is, when you use Laravel Forge. So you don't need to mind with your Digital Ocean droplet settings.

mjamieson's avatar

php -v

PHP 5.6.13-1+deb.sury.org~trusty+3 (cli) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
IJack's avatar

That look not bad... Hm, normaly you should get any error in your apache error log :/

Maybe any package is missing, but I'm not experienced enough. You took a look to, Laravel Forge?

mjamieson's avatar

I did look at Laravel Forge, Its a great option. I will probably use it but if possible i would still like to fix this error.

Thanks for all your help IJack.

mjamieson's avatar

Further tracking it down....

In the Kernel.php file this line is what is returning NULL.

112                 return (new Pipeline($this->app))
113                             ->send($request)
114                             ->through($this->middleware)
115                             ->then($this->dispatchToRouter());
Djusko's avatar

@mjamieson Hey, have you figure it out? I have exactly the same thing, my local php vers is 5.6.25 and on the new server is 5.6.31, but doesn't work

Djusko's avatar

Ok, solved it. It's about permissions, firstly permission to storage/logs file, that's why we didn't see errors, and then to other storage files, framework/views, frameworks/sessions

Please or to participate in this conversation.