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

sirbobz's avatar

What web server do you use for your PHP Laravel projects?

Just curious: what web server do you use for your PHP Laravel projects on production?

Apache, NGINX, IIS e.t.c.

And may be any reason for your choice?

0 likes
4 replies
jlrdw's avatar

Any of them will work, but I have Apache.

faridbabayev's avatar

I am use NGINX. Easy configuration settings, cluster ex. If enter your website very request example per day 2k-3k maybe you can use nginx. But your website has many functionality ( run hard query, use file ex. ) maybe you can use apache. Also nginx use php-fpm

GTHell's avatar

Nginx. I need to do reverse proxy for multiple services and apache can't do that easily that :)

shez1983's avatar

i use nginx because its nginx conf file looks less daunting than apache...

@faridbabayev in nginx ordinarily the php line doesnt use sock file (iirc) you can use them to get some speed boost.. (its been a while but basically two ways of running php.. just a fyi, u can google & find out more

Please or to participate in this conversation.