Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Local Laravel server stops after hitting localhost once

I'm trying to develop a Laravel app locally and I'm running php artisan serve. It works until I visit localhost:8000 and then the server stops. I've tried changing the port using sudo php artisan server --port=80 but that doesn't fix it.

I haven't written a line of code yet. If it helps I'm running PHP 5.4 on OS X Mavericks.

like image 440
Optymystyc Avatar asked Apr 01 '26 21:04

Optymystyc


1 Answers

i think your experiencing segmentation fault(core dumped), try running this commands

composer dump-autoload

php artisan clear-compiled

composer clear-cache

like image 167
cresjie Avatar answered Apr 04 '26 11:04

cresjie