logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: what's the defference between mod_php mod_fcigd mod_fastcgi?
Author
maskego



Joined: 16 Apr 2010
Posts: 238

PostPosted: Fri 08 Jul '11 4:39    Post subject: what's the defference between mod_php mod_fcigd mod_fastcgi? Reply with quote

Where can I find the performance at win32 between them?I can't understand why does the apache and php consume so much memory.

How to build a high performance apache+php running environment at win32 OS.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7364
Location: Germany, Next to Hamburg

PostPosted: Fri 08 Jul '11 10:58    Post subject: Reply with quote

Difference between mod_fastcgi and mod_fcgid is mostly at license level. Although mod_fastcgi is somewhat non-free. Also mod_fastcgi hasn't been developed since some time.

The difference between mod_php and mod_fcgid/mod_fastcgi is the technic itself. Mod_php is loaded into apache, so more or less php runs inside of the apache process. That's why the memory usage grows / can grow with the number of php requests. The f(ast)cgi(d) technic runs a separate php process outside of apache. You can see that as php-cgi.exe processes in your task manager.

How many req/s do you want to serv? What php scripts do you run that takes so much memory?
Back to top


Reply to topic   Topic: what's the defference between mod_php mod_fcigd mod_fastcgi? View previous topic :: View next topic
Post new topic   Forum Index -> Apache