How to install Memcached on CentOS (with DirectAdmin installed) + Memcached PECL

After I was done with install Memcached on CentOS a while ago, I just know today that there are 2 different PECL modules. One is "Memcache PECL" while another is "Memcached PECL". The one I did before is "Memcache PECL", so, now, I try to install "Memcached PECL" which is newer and require libmemcached library. The content below is almost exactly to my previous Memcache PECL installed. Only a few changes to install Memcached PECL instead.

How to install Memcached on CentOS (with DirectAdmin installed) + Memcache PECL

I just want to try if Memcached can really help my server load or not. So, I look around to find the way how to do it. There are a couple ways but to me, below are what I did to installed it. Get Libevent which is require to install Memcached. Their homepage is here -> wget tar -xvf libevent-1.4.13-stable.tar.gz cd libevent-1.4.13-stable ./configure;make;make install; Then, get Memcached from

Display IP Address for all comments in Drupal 6.16 - 6.20


I have searched many places how to display user IP for each comment. There is no complete answer in any topics that I found. Therefore, I just tried each part of each information until I know how to do it. Below is what I did to make it work: 1. Search file "comment.module" here - > "modules/comment/comment.module" 1.1. Add c.hostname into query line number 939


Parallels Desktop 4.0.3844 VS VMWare Fusion 2.0.5 on MAC OS X

I just switched to OS X (Leopard) a few weeks ago and I still need to run a few Windows applications that I still couldn’t find anything comparable in MAC OS. Many choices are available for me starting from Bootcamp that I need to reboot every time I want to run Windows applications. Or try either VMWare Fusion or Parallels Desktop to run a virtual machine so that I don’t need to restart computer every time I need to run Windows Application.

Cacti, DirectAdmin : Install Spine 0.8.7d as a poller instead of a default one.

I would like to use Spine instead of default Cacti's poller. At first, I'm thinking about to use Dag repository. It should work easily if I don't have DirectAdmin installed. However, I do have DirectAdmin installed and that caused dependencies problem when I tried to yum install it. So, I need to compile Spine by myself. I checked at Cacti website and found "Compiling Spine for Redhat/Fedora Linux" The steps seem to be easy but it's not. I got and error :

Cacti : Upgrade from version 0.8.7b to version 0.8.7d


It's been a while that I do nothing with Cacti. So, I decided to upgrade Cacti from version 0.8.7b ( ) to version 0.8.7d. 1. Get Cacti version 0.8.7d
shell> cd /var/www/html
shell> wget
2. Change directory of Cacti 0.8.7b (Old) to something Else. Then, extract Cacti 0.8.7d and change directory name to the one we use. shell> mv cacti cacti_old_version shell> tar xzvf cacti-0.8.7d.tar.gz

Open Source eCommerce Software

A month ago, I'm thinking about to open another online store to sell something online. My major requirement is pretty easy. Those are: - Multilanguage support - Use UTF-8 - Able to do Anonymous Checkout. (Guest Checkout / Check Out Without Account) If it's possible, a few other features I needed are : - Single page checkout - Import/Export Product

Modify zenmagick to support UTF-8


I just have a chance to play around with ZenMagick, an extension of ZenCart. ZenCart is one of the most popular shopping cart software. After I followed the installation process. everything seems to work fine until I found that ZenMagick doesn't support UTF-8 in the front end. What you have to do to make it support is : 1. Search for this file -> zenmagick\themes\default\lang\english\i18n.php , Open it. 2. Change from 'LC_TIME_LOCALE' => 'en_US.ISO_8859-1', to 'LC_TIME_LOCALE' => 'UTF-8',

[ HOW-TO] Install XCache on CentOS 5.2 64-bit that has DirectAdmin installed

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

CentOS 5.2 - 64 bits - error while loading shared libraries : : cannot open shared object file


My server was running great for about a month without reboot. Yesterday, I just thought about what many people said that if a server is running fine, don't try to restart it. If you do, there is a chance that a server won't start back up normally. No one explain why but then, I thought about it and for some reason, I wanted to try to restart it that night. I didn't think I will run into any problem but I was wrong.