Wanted this Apache combination to keep a server light on memory/cpu; stay off the Apache2 pre-fork. I am switching out my server from lighttpd to apache. I liked lighttpd, but I have been using apache2 so much lately that it doesn’t make sense to figure out how to set up xyz on two different http servers.
To get Apache2 and PHP5 working you have two options. Either use Apach2 pre-fork (similar to the way Apache1.3 ran), or use fastcgi. I chose the latter option.
I followed these excellent instructions, except for one change:
FCGIWrapper /usr/lib/cgi-bin/php5 .php
Under my <virtualhost><directory> for the specific site I am hosting that uses php.