php artisan serve inexistent
Hi guys,
I want to play with Laravel 5 but php artisan serve seems to have vanished and I can't start my server. Anybody knows how to fix this?
Thanks!
try with 'php -S localhost:8000 -t public/'
It started the server but the following exception is thrown: ErrorException in compiled.php line 9612:
Undefined index: _sf2_meta
I just saw the most recent tutorial about bower and in jeffrey's video is working. What could be the problem?
yeah, it's not there! i was playing with L5 as well today, and i couldn't find it..
Yes indeed the server command has been removed from latest Artisan, but there is a very simple fix.
You can use:
php -S localhost:8000 -t public/
Or, create an alias
alias server="php -S localhost:8000 -t public/"
You can also change the port to something different as to not potentially collide with any Homestead servers
alias server="php -S localhost:8080 -t public/"
I liked this command it was easy and practical. Why remove it ? What is the idea behind this ?
Please or to participate in this conversation.