I followed some instructions posted here to try and get php-fpm working with easyapache. However the mod_fastcgi module isn't available in the easyapache configuration when I check the exhaustive list.
http://forums.cpanel.net/f145/case-...api-new-php-5-3-3-a-161210-p3.html#post936492
All of his instructions don't work for me, but i did get php-fpm's flag set and the init.d script running. My problem is using php fastcgi as a handler in apache2.2, the configuration option in easyapache just isn't there at all which is weird because it says enabling some modules disables FastCGI, and even though those modules aren't enabled FastCGI doesn't show up at all, only Mod FCGID shows up and that isn't what I need it's a different, slower, and from what I read less secure module and doesn't work nearly as well with the php-fpm and apc combo.
APC is opcode caching and can give php up to 90% speed increases and is the recommeneded opcode system.
php-fpm allows using fastcgi instead of dso to use opcode caching. The reason I need fastcgi is because the worker MPM does not work with DSO, only the prefork MPM does. The worker MPM is a much improved MPM for busy and high traffic sites that uses better memory management among other things. Prefork is only default on apache for compatibility.
The best setup would then be MPM Worker, FastCGI with php-fpm (as worker and dso/suphp are not compatible), and APC for a fast functioning webserver that has low response times and good memory management utilizing the latest technology and threading. Can anyone assist me?
Below is a screenshot fastcgi simply isn't listed.

Additionally I can't select *any* handler for php with this --enable-fpm flag set. I get the following error:


I've also tried adding too the --enable-fastcgi flag to the php5_all since when I used php -i I noticed that easyapache was putting --disable-cgi flag on. This resulted in the same problem when I select cgi for the handler in whm. And doing this I doubt I can select fastcgi as the handler.
I have read other posts via google that say you can select fastcgi as a module so what gives here?
Is it my version of whm?
http://forums.cpanel.net/f145/case-...api-new-php-5-3-3-a-161210-p3.html#post936492
All of his instructions don't work for me, but i did get php-fpm's flag set and the init.d script running. My problem is using php fastcgi as a handler in apache2.2, the configuration option in easyapache just isn't there at all which is weird because it says enabling some modules disables FastCGI, and even though those modules aren't enabled FastCGI doesn't show up at all, only Mod FCGID shows up and that isn't what I need it's a different, slower, and from what I read less secure module and doesn't work nearly as well with the php-fpm and apc combo.
APC is opcode caching and can give php up to 90% speed increases and is the recommeneded opcode system.
php-fpm allows using fastcgi instead of dso to use opcode caching. The reason I need fastcgi is because the worker MPM does not work with DSO, only the prefork MPM does. The worker MPM is a much improved MPM for busy and high traffic sites that uses better memory management among other things. Prefork is only default on apache for compatibility.
The best setup would then be MPM Worker, FastCGI with php-fpm (as worker and dso/suphp are not compatible), and APC for a fast functioning webserver that has low response times and good memory management utilizing the latest technology and threading. Can anyone assist me?
Below is a screenshot fastcgi simply isn't listed.

Additionally I can't select *any* handler for php with this --enable-fpm flag set. I get the following error:


I've also tried adding too the --enable-fastcgi flag to the php5_all since when I used php -i I noticed that easyapache was putting --disable-cgi flag on. This resulted in the same problem when I select cgi for the handler in whm. And doing this I doubt I can select fastcgi as the handler.
I have read other posts via google that say you can select fastcgi as a module so what gives here?
Attachments
-
26.7 KB Views: 113
-
26.3 KB Views: 81
Last edited: