Apache2 fcgid (not FastCGI) with PHP FPM

It is not possible to use an externally spawned FastCGI-aware process like the ones created by php-fpm with mod_fcgid. It simply lacks this feature.

If you don't want to use mod_fastcgi, i.e. because you think it's too big or insecure or old, you might want to look at an alternative like mod_proxy_fcgi.

You might also be delighted to hear that Apache httpd 2.4 (and the current developer release in the 2.3 series) already comes with a mod_proxy implementation for FastCGI, incidentally also called mod_proxy_fcgi.


mod_fastcgi and mod_fcgid are totally different modules and don't even share a common code-base. They have only the FastCGI protocol in common. That is why Apache Directives are totally different in these two. Besides, mod_fcgid has an adaptive-spawning architecture and it does not support Static servers or External servers. As per my knowledge, it is not possible. But you can check out the latest release and read its change logs.