Ok, before we start I should mention what I’m using:
- Apache 2.2.11
- PHP 5.2.9 (compiled with –enable-fastcgi)
- mod_fastcgi
How to compile PHP as an FastCGI server is left as an exercise to the reader. Actually, mostz of the times it’s really as simple as adding
--enable-fastcgi
to the configure command and making sure that
--enable-discard-path
is not on the list of your configure options.
Compiling
mod_fastcgi
is straight forward and well documented, so it’s also not covered here.
Obviously you shouldn’t try the dollowing examples on a production machine. Ok, having all the mumbo-jumbo out of the way now, let’s begin.

Pingback: External FastCGI With Apache « IT Know-It-All