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

Shredder's avatar

Laravel Sail 503 in index.php

I have an install of Laravel running in sail, a mate has the same project (Laravel 9) and it runs fine on his system but on mine I get a 503. The error is occurring at this point in the index.php file…

$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
    $request = Request::capture()
)->send();

I can successfully dd before this block but it falls over with a 503 if I move the dd to be after it.

Any help on where to look would be greatly appreciated.

Gary

0 likes
1 reply
Shredder's avatar

I've managed to get this working by moving he project to an external drive that is configured to be case sensitive. At least I'm able to be productive again but not sure how I would go about debugging this sort of issue in future.

Any ideas?

Thanks

Gary

Please or to participate in this conversation.