Please follow the procedure given below to install and configure  mod_evasive in  cPanel server with apache 2.2. Download the   latest source file from http://www.zdziarski.com # cd /usr/local/src/ # wget /blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz # tar -xvzf mod_evasive_1.10.1.tar.gz # cd mod_evasive/ # /usr/local/apache/bin/apxs -cia mod_evasive20.c Now create a file named  /usr/local/apache/conf/mod_evasive.conf and add the following lines # cat /usr/local/apache/conf/mod_evasive.conf [...]

The extension_dir is the php system path into which the thirdparty installations were installing the  modules like eaccelerator , memcache , etc,.  Sometimes this path will be missing from  server php.ini .  So then you need to find out the correct extension_dir and  update it in php.ini . So that the installed extension will work [...]

The eaccelerator installation in directadmin is easy . This procedure is same in all php linux distribution. You may need to do the following procedure. This is based on redhat / centos distributions 1) Download the latest eaccelerator source files from  http://sourceforge.net/projects/eaccelerator/   and extract it  after that run the following commands # yum -y install [...]