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

beng970804's avatar

Nginx or Apache

Initially, Laravel come pre-installed with which server or we have to configure ourself? I am new to this and currently the site still fresh and in local only.

0 likes
3 replies
Sergiu17's avatar

You have to configure yourself.

Nginx or Apache - both work great. Some people like Nginx, others like Apache.

beng970804's avatar

After I create a fresh Laravel project, it runs with which server? or I need to configure when I'm going to deploy (live)?

tykus's avatar
tykus
Best Answer
Level 104

Laravel does not come pre-configured with a web server; there are development tools such as the built-in PHP server which you use if you php artisan serve, or Valet which uses nginx.

For production, you will need to configure the web server yourself.

Please or to participate in this conversation.