Jump to content

PHP and Apache Concurrency...


Savaal

Recommended Posts

I was wondering if I could get some more information on the prefork+fastcgi build people are running. I am currently using a windows system for my dev environment, with apache and php using the winnt mpm. This sucks for concurrency, since php is not designed for threaded use, and if one user is in the throes of a long file i/o, other users have to wait until that user is finished before they can have their request taken, likely due to the way the windows mpm works. See, I need separate instances of php to run concurrently. With my current config, apache spawns one instance of php that is shared with all apache requests. I was hoping that if there were multiple processes of apache, that there would be multiple processes of php, as well. Thoughts? Oh, and for bonus points, what is the currently preferred distro of linux for webserver with php? Thanks in advance.

 

Savaal

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.