1 |
Am 01.12.2012 00:13, schrieb William Kenworthy: |
2 |
> why? - threads "sounds" like a good thing, but is it really if its |
3 |
> optional? |
4 |
> |
5 |
|
6 |
Threads - at least for apache - is optional, because you can compile |
7 |
apache with different MPMs (see documentation). MPM_PREFORK for example |
8 |
does not use threads, it forks itself - as opposed to MPM_WORKER which |
9 |
is based on threads. |
10 |
|
11 |
So if you set threads, apache is compiled with MPM_WORKER, if not, |
12 |
MPM_PREFORK is used. |
13 |
|
14 |
If you are running a threaded apache, and you are choosing to use php as |
15 |
apache module (apache2 use flag) then php with threads is required. |