HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


How to install eAccelerator in directadmin server

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 autoconf
# phpize
# ./configure
# make
# make install

2) Find the php.ini using the command ” php –ini” and edit it .  The update the  “extension_dir ” current extension  directory . This path contains all the  php  third party installations.

-------
# php --ini | grep Configuration
Configuration File (php.ini) Path: /usr/local/etc/php5/cgi
Loaded Configuration File:         /usr/local/etc/php5/cgi/php.ini
# grep extension_dir /usr/local/etc/php5/cgi/php.ini
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
----------

Please note the extension_dir path will be different in your server.

3) Now add the following lines at the end of php.ini

-------------
extension="eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/var/cache/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
---------

4) Now create the cache folder  /var/cache/eaccelerator

--------
# mkdir /var/cache/eaccelerator
# chmod  777 /var/cache/eaccelerator
------

5) Restart apache  and test it

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 12345
6789101112
13141516171819
20212223242526
27282930 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional