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

krishnanarasimha4@gmail.com's avatar

php artisan serve is not working

Hi, I am updating my laravel application from 5 to 8. I updated sucessfully. Now, I try to up the artisan serve. No response and error and also while updating i found optimize is depricated, I remove the optimize in the composer.json file. Can some one please help me how to up the server right now. I checked even, I am in the right directory or not. I found that i am in right directory. Below is the input and output C:\Users\krish\app> php artisan serve C:\Users\krish\app>

Thanks and Regards Krishna

0 likes
2 replies
vincent15000's avatar

I think it will be hard.

When I migrated from 6 to 8, I have tested at each step (each update in the code) of each migration (6 to 7, then 7 to 8). Each time I had errors, I had a look at the code to find the error. And at the end of each migration (6 to 7, then 7 to 8), I tested all the functionalities of the application.

What is exactly the error ?

bugsysha's avatar

That is why I develop all my Laravel apps as packages. No update process 🎉

Please or to participate in this conversation.