Hi,
when compiling the apache-server, i saw that there are multiple mpm-* available like prefork or worker.
I did some search on the web and noticed that these are for multithreading etc. - But which one should i choose to get the best performance with php?
Apache Prefork/Worker etc.
Moderator: General Moderators
that depends on how you integrate php into apache. mod_php might not be thread-safe (depending on the extensions used), so it's not recommended to use multithreaded mpm with mod_php. If you use php as CGI/FastCGI it should be fine to use any mpm (because php is running as a separate process in this scenario).