• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Prefork or work for apache on linux?

Dark Atheist

Moderator
Staff member
Political User
#1
After reading a few articles (one by a member of this site ;)) i have been looking into MPM modules for apache on linux, some have said if you have the memory go for prefork if you dont have the memory go for worker.

Could you use worker even if you do have the memory? is there any benifit or performance gains?

System has 8gb ram in it and will only be accessable by a few people, just wondering before i set up mod_fcgi.

edit:

PHP supported
PHP is NOT recommended to work with multithreaded Apache2(worker MPM and WinNT MPM, for example), because some PHP extensions( or 3rd party library they are using) are not guaranteed thread-safe. PHP running with FastCGI mode is a solution to this problem.

seems after some more research its a no and i should stay with prefork
 

Dark Atheist

Moderator
Staff member
Political User
#3
i know i read it on your blog - its where i got the idea from ;) , i will have to look into it more in the morning, eyes are tired and things are beginning to blur :)
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,962
Messages
673,240
Members
89,018
Latest member
timpage