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

virgiltu's avatar

New Installation not working.

Hello,

i installed the latest version of laravel dev on a local xampp server using composer. It all looks good. When going to /public i can see the home page. All good to this point. I then tryed to fallow the tutorials, however i keep running into a brick wall. If I make any changes in HomeController it all works. I created a new controller as per the tutorial called DogsController. I went ahead edited the file .env and i have also added mu controller to the RouteServiceProvider.php. However when i go to /dogs I still get the NotFoundHttpExtension error. It seems as I can not get laravel to scan the files. If I change the @Get("/") in homecontroller to @Get("dogs") I can not navigate to /dogs and see the home page. So what am I missing. Thank you for all the help in advance.

0 likes
6 replies
virgiltu's avatar

Many tahnks to premtech for the solution.

php artisan clear-compiled

der-poth's avatar

Maybe it's a good idea to have this information as a short introduction statement video.

IMHO that should help all guys not active in the forum.

Take care

kazi-shahin's avatar

After command "php artisan serve " the browser at localhost:8000 is returning error. The error is, " This webpage is not available". May be it is a problem of Host file. I am in LAMP and Laravel located at /var/www/html/laravel.

The other General .php file is showing output at browser without any problem.

Could you please help to find why I can view the "You are Here" page from Laravel.

BenG's avatar

When you enter php artisan serve, do you get a message in the console that it is being served at localhost:8000?

1 like
kazi-shahin's avatar

Hi, Solved the issue. Reached the window, "You have arrived." !!!. Could you tell me what should be the next step from here ?

virgiltu's avatar

Hi Kazi,

Here is my experience so far. I paid for the laracast videos. However, you will get stuck a lot. It all depends if you installed laravel 4 or laravel 5. To install laravel 5 you will need to install the from the -dev. In any case laravel 5 is much better and simpler in my opinion. However most of the videos you can not fallow. That is because they were made in an earlier version of the dev laravel 5. You have to find the latest videos in order to figure out how it works. And once you do that you will have to read the documentation. Dont get me wrong it is really fun. I hope this helps. O you will have to pay for laracast, because the laravel5 from scratch will not work on the latest released version. annotations is what is missing from the free videos.

Please or to participate in this conversation.