php-fpm doesn't need suexec

interfasys

Verified User
Joined
Oct 31, 2003
Messages
2,100
Location
Switzerland
In a typical CB2.0 built PHP-FPM setup, httpd-fastcgi.conf contains this
Code:
<IfModule mod_fastcgi.c>
FastCgiWrapper /usr/sbin/suexec
FastCgiIpcDir /var/run/fastcgi
...
But it's not necessary to use a CGI wrapper when using PHP-FPM since the external server is controlling the scripts as the user.
So I think this should be removed so that people who don't need suexec (everybody who doesn't use perl scripts) can easily remove it from their config without trying to figure out why it breaks their PHP setup.
 
Back
Top