FastCGI

mod_fcgid 2.3.7 released

By BXTra |
Changes with mod_fcgid 2.3.7 *) Introduce FcgidWin32PreventOrphans directive on Windows to use OS Job Control Objects to terminate all running fcgi's when the worker process has been abruptly terminated. PR: 51078 [Thangaraj AntonyCrouse ] *) Periodically clean out the brigades which are pulling in the request body for handoff to the fcgid child. PR: 51749 [Dominic Benson ] *) Resolve crash during graceful restarts.

[HOW-TO] Use "mod_fastcgi_handler + PHP-FPM" instead of "mod_fastcgi + PHP-FPM" (Less code to work on)

By BXTra |
I have read about mod_fastcgi_handler which I think it will help me to write less code to work on PHP-FPM. Checked their website, even they say it's beta quality and there are a couple bugs. I still think I should try it. So, below is what I did to replace mod_fastcgi with mod_fastcgi_handler. 1.

[HOW-TO] Enable and setup PHP-FPM in DirectAdmin (PHP 5.3)

By BXTra |

I've heard about PHP-FPM about a month ago from DirectAdmin webboard. Then, a few weeks ago, I had a couple websites that I need to make it run faster. After tried to do many things with it like ... to use mod_fcgid / XCache / Memcached, I feel like there was something in XCache since "Page execution time" is quite high. Then, I remember that I've read from many websites that XCache doesn't really work with mod_fcgid. From the technical point, all of them explained it clearly to understand.

[HOW-TO] DirectAdmin with mod_fcgid

By BXTra |
All steps below should be done with a new clean install of DirectAdmin. It is possible to make it work on the server that already have users on it. I did that and it works perfectly fine. However, the steps will be a bit different and it won't work if you just follow instruction below.

1. Copy and paste below command into your SSH

Apache Error : [emerg] (28)No space left on device: mod_fcgid: Can't create global fcgid-proctbl mutex

By BXTra |

My server run DirectAdmin with mod_fcgid installed. After I tuned MySQL. I, then, restarted both httpd and MySQL service. Both services started without any problem but I can't access my website at all. After I checked my Apache Error log, I found an error which said : [emerg] (28)No space left on device: mod_fcgid: Can't create global fcgid-proctbl mutex After search around how to fix this problem, I believe it's something about IPCS. Try run # ipcs -a