How to install eAccelerator
Eaccelerator is a PHP accelerator/encoder/caching utility that is based
off of the old mmcache (which is no longer being maintained).What Eaccelerator does is: it caches your PHP scripts so that the database is no longer being queried every time someone needs a script. This is
particularly useful for large forums, but pretty much anyone can benefit
from it. Since these scripts are cached, youll notice a decrease in
memory use and server load.
Now, onto installing this!
1. First, youll want to SSH into your server as the root user. you should
be in the default directory now. If youre not, type in cd ~
Now well make the eaccelerator directory:
2. Now well grab the files, and untar them:
Notice that its a tar.bz2 file, so we need to decompress it twice.
bzip2 -d eaccelerator-0.9.4-rc1.tar.bz2
tar -xvf eaccelerator-0.9.4-rc1.tar
3. Now that we have done that, lets install Eaccelerator:
Note: in the following export command, you need to point that to where
PHP is installed. For most, its usually either /usr/ or /usr/local, but
it may be something else.
./configure –enable-eaccelerator=shared –with-php-config=$PHP_PREFIX/bin/php-config
4. Its basically installed, now we need to edit the php.ini files to
include Eaccelerator. This is usually found in the /etc/ folder, but if
you cant find it, run a Â“locate php.ini (without quotes) to find it.
You can use pico or vi, its your choice:
For a PHP extension install (most will probably want this)
For a Zend Extension install (only if you have Zend Optimizer installed, or
if youre going to install it
chmod 0777 /tmp/eaccelerator/
5.After installed restart apache to check eaccelerator is installed.
service httpd restart
Run following command, and it should show Eaccelerator in the output as.
PHP 4.4.4 (cgi) (built: Feb 7 2007 08:27:53)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with eAccelerator v0.9.4-rc1, Copyright (c) 2004-2004 eAccelerator, by eAccelerator
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies
Was this answer helpful?
ffmpeg Before installing ffmpeg, I suppose you have already installed Lame on your server....
Flash is a client side feature - it runs on the user's computer, not on your web host. As long as...
Navigating in UNIX pwd Shows the full path of the current directory ls Lists all...
Did you ever want to change or create a new login message antime someone logs into SSH? We'll...
What is Crypt-DSA Crypt::DSA is an implementation of the DSA (Digital Signature Algorithm)...
Powered by WHMCompleteSolution