I am using Ubuntu 14.04 and I am trying to install Laravel framework. In this purpose I have run this code in terminal:
php artisan serve
After waiting for 4-5 minutes I got this response:
Laravel development server started on http://localhost:8000/
[Tue May 26 13:19:40 2015] 127.0.0.1:44800 [200]: /favicon.ico
[Tue May 26 13:19:40 2015] 127.0.0.1:44801 [200]: /favicon.ico
After waiting for more than 10 minutes I got no more response although terminal is working.
Does it really take that much time? Or what's wrong?
then, what can I do? although port 8000 has been started, localhost:8000 shows that, Sorry, the page you are looking for could not be found.
You need to stop the server and run this command which specifies the public directory php -S localhost:8000 -t public/
as the root document root
or
you can also cd into your laravelProject/public then php -S localhost:8000