Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thank you for clarification - makes a lot of sense what they state in that docs

> Why you shouldn't use mod_php with the prefork mpm anymore

>

> mod_php is loaded into every httpd process all the time. Even when httpd is serving static/non php content, that memory is in use.

> mod_php is not thread safe and forces you to stick with the prefork mpm (multi process, no threads), which is the slowest possible configuration

I probably very biased here - I silently imply it's a Nginx in front of Apache in 99.9% cases - so serving static files and long-living connections is not a problem with mpm_prefork [for setups and system administration around me].



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: