(Serving PHP) Does Apache2 will create new thread on every connection?

Posted by apasajja on Server Fault See other posts from Server Fault or by apasajja
Published on 2012-06-09T06:58:18Z Indexed on 2012/06/09 10:42 UTC
Read the original article Hit count: 391

Filed under:
|
|
|

Based on many online sources, in serving static files, Apache2 will create new thread on every different connection... results in resource hungry

But how about serving PHP through Apache2 (mod_php, MPM worker, etc)? Does apache will also open new thread like serving static files?

(AFAIK, in nginx php-fpm, we can set the max thread, but I dont know how many connection per thread)

I'm planning to use Apache2 in serving PHP, and hope it will be same as nginx PHP-FPM or even better in resource usage and performance.

© Server Fault or respective owner

Related posts about apache2

Related posts about nginx