so I want to move to fast cgi

had seen that but had not used php-fpm as I have used fcgi, I know fcgi works with my software well (inviisionpower) and while I suspect php-fpm would work I have no actual experience with it.
but from the looks of it, if it does work with it I think (from reading) it would work better due to opcode cache restarts if needed.
hesitant to try it w/o a quick way of rolling back that CB offers though, really need to setup my test site on dedicated and move it off shared hosts its on now just for this stuff :)
maybe I'll get brave and just try it :)
 
Last edited:
hmm isn't php-fpm integrated (part of) apache 2.4 now or am I reading it all wrong?
 
PHP-FPM is part of PHP, not Apache. Also, if you want to try PHP-FPM, check this link -> http://www.bxtra.net/articles/2011-02-01/how-to-enable-and-setup-php-fpm-in-directadmin-php-53 to install PHP-FPM. Then, follow some of this tutorial -> http://www.bxtra.net/articles/2011-...-modfcgid-on-php-52-53-and-modfastcgi-php-fpm to allow some specific website to run on PHP-FPM. This is what I used for at least a year already. Default for all users will run with mod_fcgid while I can select specific user to run with PHP-FPM.

Still, I'm waiting to try Custombuild 2.0 so that I don't need to modify anything to make it work.
 
yeah I read those, what I was referring to was http://wiki.apache.org/httpd/PHP-FPM the statement made me wonder if, with apache 2.4.2, the instructions at that link would work.

Apache needs either mod_proxy_fcgi or mod_fastcgi to connect to PHP-FPM. With Apache 2.4, you already have mod_proxy_fcgi included that can be used to connect to PHP-FPM. So, you no longer need mod_fastcgi which has to compile separately.

However, with mod_proxy_fcgi, you can only connect to PHP-FPM using port number, not unix socket. This will be difficult to maintain for shared hosting since you have to have one port for each user for security reason. Compare to unix socket where you can use the username as the mean of connection.

Back to your question, the instruction should work but as you can see that they require you to install PHP to have PHP-FPM available for Apache to connect to.
 
Last edited:
ok thanks, the port issue should not affect me. only user on dedicated server so I can mess with stuff w/o hurting others.
seeing reports of php-fpm having issues with invisionpower though so need to look into that more before deciding.
 
Can you give me the link to the issue you said? Really want to know since I don't see how PHP-FPM will cause any problem if php-cgi, php works flawlessly. However, I do know that there is a bug in PHP 5.3.14 as below :

https://bugs.php.net/bug.php?id=62432

A PHP 5.3 bug No.62432 ReflectionMethod random corrupt memory on high concurrent was fixed that cause PHP itself unstable, bogus reported as XCache bug. It is false positive to reproduce with XCache loaded/enabled only, just because XCache make PHP run faster than with/without other opcode cacher. PHP 5.3 up to 5.3.14 is affected. It is highly suggested to upgrade to newer PHP
 
unless you are a licensed IP Board holder you can't see the area where some have briefly mentioned php-fpm issue.
however they have not yet expanded on it anyways, just reported they were having issues.
I am waiting on followup to see if this is possibly an nginx issue, one person may be using nginx and not apache.
 
Back
Top