@just-pthai-it Do you get the same performance with php artisan serve inside the docker locally?
Jun 12, 2023
4
Level 1
Php artisan serve suddenly response extremely slow
I run my Laravel app inside a docker container with command php artisan serve (using diff .env file) and the same Laravel app with command php artisan serve but this time is on my local computer. Everything work fine when using docker. But on local computer, it took too long to response (about 1 minute). I do not know why. I tried to search and found solution that using this command instead
php -S localhost:8000 -t public/
Ok this time everything back to normal, Laravel app response as fast as it used to be. But I need to know what wrong with the artisan command. Does anyone know why? Thank you!
Please or to participate in this conversation.