Author |
|
Arch Stanton
Joined: 19 Dec 2005 Posts: 10
|
Posted: Wed 11 Jan '06 20:21 Post subject: Prefork |
|
|
Is it possible to enable prefork in Apache 2 for Windows? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7374 Location: Germany, Next to Hamburg
|
Posted: Thu 19 Jan '06 14:07 Post subject: |
|
|
No, there is no mpm module for that. Caused by the different architecture of Windows, there is no need for prefork. Multithreading and Handles are working fine. |
|
Back to top |
|
Arch Stanton
Joined: 19 Dec 2005 Posts: 10
|
Posted: Fri 20 Jan '06 15:21 Post subject: |
|
|
So, it's safe to use Apache 2.x with PHP in Windows then? I thought it wasn't because it didn't offer prefork. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7374 Location: Germany, Next to Hamburg
|
Posted: Fri 20 Jan '06 17:44 Post subject: |
|
|
Sure you can use Apache 2.X for Windows. The question is: what you want to do with that server. For commercial use, me, myself and I won't use Windows, but for development or intranet Apache von Windows works fine.
Any other questions? |
|
Back to top |
|
oxalide
Joined: 25 Apr 2006 Posts: 5
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7374 Location: Germany, Next to Hamburg
|
|
Back to top |
|
oxalide
Joined: 25 Apr 2006 Posts: 5
|
Posted: Wed 12 Jul '06 15:48 Post subject: |
|
|
Yes i get that, but i have a client that need to do benchmark with prefork activated.....So i have to compile it on windows...so i did it but without prefork....so i wanted to know if it is possible and how to compile with the prefork mpm and non winnt ?? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7374 Location: Germany, Next to Hamburg
|
Posted: Wed 12 Jul '06 15:55 Post subject: |
|
|
Ok, now I got you. Yes somewhere in the code or the project definition is set which mpm the compiler choose. Under Linux I would use --with-mpm=prefork as argument for the configure script. Please ask in the Building with Visual C ++ for that. |
|
Back to top |
|