Support the ongoing development of Laravel.io →
Requests Forms
Last updated 2 years ago.
0

Are using Laravel in a Windows machine? Laravel includes lots of files and PHP on windows machines has some problems with that, try to increase your "realpath_cache_size" in your php.ini , also check your mysql log maybe it's slow (on WAMP stack in windows change localhost to 127.0.0.1 in my.ini or my.cnf file) What ever it is, it's not related to Laravel , My laravel bootstraps in 17ms on Ubuntuo.

Last updated 2 years ago.
0

He bigsinoos, thanks for your answer.

I'm actually on a Windows 7 machine at work. But could it be trully that slow comparing to the perfomances on a Linux platform ?

My MySQL show nothing. I already changed my httpd.conf to go from "localhost" to "127.0.0.1" as ServerName, but nothing changed.

Moreover, I don't face this problem at all on any other projects I'm working on (without using Laravel).

Last updated 2 years ago.
0

Just use this command: php artisan optimize --force

0

Sign in to participate in this thread!

Eventy

Your banner here too?

bfiaut bfiaut Joined 7 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.