(Serving PHP) Does Apache2 will create new thread on every connection?
- by apasajja
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.