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

soyiso3875's avatar

Apache vs Nginx

Does Laravel come with a preconfigured server or do I need to do all myself? Locally I use php artisan serve but after googling that is not apache or Nginx.

0 likes
1 reply
bobbybouwmann's avatar
Level 88

Laravel does not come pre-configured with a web server; You already know the built-in PHP server which you use if you run php artisan serve. An alternative is Valet which uses Nginx.

For your server, you will need to set up everything yourself. You can google on how to do this ;)

I would recommend Nginx since that is easier to set up in my experience.

Please or to participate in this conversation.