[HOW-TO] DirectAdmin - Run Apache with "mod_fcgid on PHP 5.2 / 5.3" and "mod_fastcgi + PHP-FPM on PHP 5.3" on the same server
1. [HOW-TO] DirectAdmin with mod_fcgid
2. [HOW-TO] Enable and setup PHP-FPM in DirectAdmin (PHP 5.3)
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.
First of all, if you are using DirectAdmin in PHP-CGI (suPHP) mode, don't waste your time follow this HOW-TO. Although these steps work with PHP-CGI but you will get nothing from doing it. For PHP-CLI, I found that it help to decrease my server load from about 10 or more down to about 1 but always less than 2. (I have quad core CPU and my problem before is that CPU usage is almost always 100%.) It's useful module that you should have it installed. Step 1 : Get XCache and uncompress it shell> cd /tmp
© 2007 - 2023 BXTra.net. All Rights Reserved.
Certain other content, photos and artwork displayed on BXTra.net are protected by copyright and are the property of their respective owners.