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

tienpham's avatar

Laravel get blank page (updated permission of log folder)

Hello, I deploy a laravel 5.0 to our pleak server (php 5.4.39). I always get blank page. I didn't see any error log on server. It dead in index.php at line: $response = $kernel->handle( $request = Illuminate\Http\Request::capture() ); Please help me to know what is reason. Thank you. Tien

0 likes
4 replies
hpolthof's avatar

Do you have error_reporting = E_ALL set in php.ini?

Is index.php reachable?

Does Artisan work?

1 like
tienpham's avatar

Hi Hpolthof, Thank you for your rely.

Do you have error_reporting = E_ALL set in php.ini? yes, I have it :) But I dont get any error messages. strange!

Is index.php reachable? yes, it stuck at $response = $kernel->handle( $request = Illuminate\Http\Request::capture() );. I tried to echo 'xxx' before and after that line of code.

Does Artisan work? I think we dont need it to run laravel site.

Tien

jorgeandresserrano's avatar

Hi @tienpham,

I had the same problem and it was because I did not give proper write permisions to two folders: "storage" and "bootstrap/cache".

Documentation says: "After installing Laravel, you may need to configure some permissions. Directories within the storage and the bootstrap/cache directories should be writable by your web server." http://laravel.com/docs/5.1/installation#configuration

From the title of your post I can tell you did change permisions but only for the "log" folder.

Hope this helps, Jorge

tienpham's avatar
tienpham
OP
Best Answer
Level 1

Hello @jorgeandresserrano, Thank you for your response. I found that issue is my mistake. I was use Laravel 5.1 on PHP 5.4. Then I fixed by downgrade Laravel to 5.0 Best regards, Tien Pham

Please or to participate in this conversation.