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.
<?php phpinfo(): ?>.cdinto that directory, and runphp -S localhost:8000. You should be able to navigate tolocalhost:8000and see details on your PHP installation. Do you get PHP version 5.6 there? If so, what version do you see when runningphp -vin your command line? How did you install the new PHP version? Homebrew? Compiled? Something else?