Differences between mod_fastcgi and mod_proxy_fcgi

Server Fault Asked by Reuben Debattista on January 1, 2022

I have searched for an answer but cannot seem to find anything substantial related to this question.

Should one use mod_proxy_fcgi or mod_fastcgi with php-fpm on Apache2.4?

Are there any differences in terms of security and performance?
Any recommendations?

Thanks in advance for any help.

One Answer

mod_proxy_fcgi, which is newly available in Apache 2.4, is just for this type of use case. The Apache wiki entry for PHP-FPM has some good guidance to get started.

The mod_proxy_fcgi documentation also includes specific examples for setting up PHP-FPM and the PHP documentation also has helpful information.

On the other hand, mod_fastcgi is notoriously difficult to set up and a memory hog. Additionally, mod_fcgi doesn’t support spawned CGI servers. Because PHP-FPM is managed by itself, not by Apache, mod_fcgi isn’t the best choice.

Answered by Colt on January 1, 2022

Add your own answers!

Related Questions

Rewrite with [P] flag lands in wrong vhost

0  Asked on November 24, 2021 by nthdegree


Delete files from rdiff-backup

3  Asked on November 22, 2021


How do I setup a SENT and TRASH folder with Dovecot?

3  Asked on November 22, 2021 by old-account


Resetting a queue discipline back to the default pfifo_fast one?

3  Asked on November 22, 2021 by francois-marier


Shibboleth does pass attribute to server variable in PHP

1  Asked on November 22, 2021 by pete-k


Use of CPUQuota in systemd

2  Asked on November 22, 2021 by stevegr2015


Using Cloudfront as a HAProxy backend server using https

2  Asked on November 22, 2021 by shubham-kanodia library not in default library location

1  Asked on November 22, 2021 by kishore-kumar


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP