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!
============================
Installing Eaccelerator
============================
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:
mkdir /ea/
cd /ea/
2. Now well grab the files, and untar them:
Notice that its a tar.bz2 file, so we need to decompress it twice.
wget http://oratoronline.com/how2/Eaccelerator/eaccelerator-0.9.5.2.tar.bz2
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.
cd eaccelerator-0.9.4-rc1/
export PHP_PREFIX=/usr
$PHP_PREFIX/bin/phpize
./configure –enable-eaccelerator=shared –with-php-config=$PHP_PREFIX/bin/php-config
make
make install
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:
cd ~
nano /etc/php.ini
=======================================
For a PHP extension install (most will probably want this)
=======================================
extension=eaccelerator.so
eaccelerator.shm_size=16
eaccelerator.cache_dir=/tmp/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
==========================================================================
For a Zend Extension install (only if you have Zend Optimizer installed, or
if youre going to install it
===========================================================================
zend_extension=/usr/lib/php4/eaccelerator.so
eaccelerator.shm_size=16
eaccelerator.cache_dir=/tmp/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
cd ~
mkdir /tmp/eaccelerator/
chmod 0777 /tmp/eaccelerator/
5.After installed restart apache to check eaccelerator is installed.
service httpd restart
Verify:
=========
Run following command, and it should show Eaccelerator in the output as.
php -v
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
- Home
-
Store
- Browse All
- Dedicated Servers in Atlanta, United-States
- Dedicated Servers in Charlotte, United-States
- Dedicated Servers in Chicago, United-States
- Dedicated Servers in Auckland, New Zealand
- Dedicated Servers in Brisbane, Australia
- Dedicated Servers in Melbourne, Australia
- Dedicated Servers in Perth, Australia
- Dedicated Servers in Sydney, Australia
- Dedicated Servers in Cairo, Egypt
- Dedicated Servers in Cape Town, South-Africa
- Dedicated Servers in Johannesburg, South-Africa
- Dedicated Servers in Lagos, Nigeria
- Dedicated Servers in Tripoli, Libya
- Dedicated Servers in Tunis, Tunisia
- Dedicated Servers in Bogota, Colombia
- Dedicated Servers in Buenos Aires, Argentina
- Dedicated Servers in San-Jose, Costa Rica
- Dedicated Servers in Sao-Paulo, Brazil
- Dedicated Servers in Ankara, Turkey
- Dedicated Servers in Antalya, Turkey
- Dedicated Servers in Bangkok, Thailand
- Dedicated Servers in Bursa, Turkey
- Dedicated Servers in Chennai, India
- Dedicated Servers in Dubai, United Arab Emirates
- Dedicated Servers in Hanoi, Vietnam
- Dedicated Servers in Hong Kong, China
- Dedicated Servers in Istanbul, Turkey
- Dedicated Servers in Izmir, Turkey
- Dedicated Servers in Jerusalem, Israel
- Dedicated Servers in Kuala Lumpur, Malaysia
- Dedicated Servers in Mumbai, India
- Dedicated Servers in Nagano, Japan
- Dedicated Servers in Pune, India
- Dedicated Servers in Riyadh, Saudi Arabia
- Dedicated Servers in Seoul, South Korea
- Dedicated Servers in Singapore, Singapore
- Dedicated Servers in Taipei, Taiwan
- Dedicated Servers in Tokyo, Japan
- Dedicated Servers in Dallas, United-States
- Dedicated Servers in Denver, United-States
- Dedicated Servers in Las Vegas, United-States
- Dedicated Servers in Los Angeles, United-States
- Dedicated Servers in McLean, United-States
- Dedicated Servers in Mexico City, Mexico
- Dedicated Servers in Miami, United-States
- Dedicated Servers in New York, United-States
- Dedicated Servers in Phoenix, United-States
- Dedicated Servers in Portland, United-States
- Dedicated Servers in Redding, United-States
- Dedicated Servers in Sacramento, United-States
- Dedicated Servers in Salt Lake City, United-States
- Dedicated Servers in San Francisco, United-States
- Dedicated Servers in San Jose, United-States
- Dedicated Servers in Seattle, United-States
- Dedicated Servers in Springfield, United-States
- Dedicated Servers in St Louis, United-States
- Dedicated Servers in Toronto, Canada
- Dedicated Servers in Vancouver, Canada
- Dedicated Servers in Washington, United-States
- Dedicated Servers in Amsterdam, Netherlands
- Dedicated Servers in Athens, Greece
- Dedicated Servers in Barcelona, Spain
- Dedicated Servers in Belgrade, Serbia
- Dedicated Servers in Bratislava, Slovakia
- Dedicated Servers in Brussels, Belgium
- Dedicated Servers in Bucharest, Romania
- Dedicated Servers in Budapest, Hungary
- Dedicated Servers in Chisinau, Moldova
- Dedicated Servers in Copenhagen, Denmark
- Dedicated Servers in Dublin, Ireland
- Dedicated Servers in Dusseldorf, Germany
- Dedicated Servers in Frankfurt, Germany
- Dedicated Servers in Helsinki, Finland
- Dedicated Servers in Kiev, Ukraine
- Dedicated Servers in Kristiansand, Norway
- Dedicated Servers in Lisbon, Portugal
- Dedicated Servers in Ljubljana, Slovenia
- Dedicated Servers in London, United Kingdom
- Dedicated Servers in Luxembourg, Luxembourg
- Dedicated Servers in Madrid, Spain
- Dedicated Servers in Manchester, United-Kingdom
- Dedicated Servers in Milan, Italy
- Dedicated Servers in Moscow, Russia
- Dedicated Servers in Nicosia, Cyprus
- Dedicated Servers in Novi Travnik, B&H
- Dedicated Servers in Oslo, Norway
- Dedicated Servers in Paris, France
- Dedicated Servers in Prague, Czech Republic
- Dedicated Servers in Reykjavik, Iceland
- Dedicated Servers in Riga, Latvia
- Dedicated Servers in Rome, Italy
- Dedicated Servers in Sofia, Bulgaria
- Dedicated Servers in St-Petersburg, Russia
- Dedicated Servers in Stockholm, Sweden
- Dedicated Servers in Tallinn, Estonia
- Dedicated Servers in Tirana, Albania
- Dedicated Servers in Valletta, Malta
- Dedicated Servers in Vienna, Austria
- Dedicated Servers in Vilnius, Lithuania
- Dedicated Servers in Warsaw, Poland
- Dedicated Servers in Zagreb, Croatia
- Website Security
- Dedicated Servers in Zurich, Switzerland
- Digital Ocean Cloud Server
- Linode Cloud Server
- Vultr Cloud Server
- AWS Cloud Server
- Google Cloud Server
- Atlanta Dedicated Server (Dedicated Bandwidth)
- Chicago Dedicated Server (Dedicated Bandwidth)
- Dallas Dedicated Server (Dedicated Bandwidth)
- Denver Dedicated Server (Dedicated Bandwidth)
- Los Angeles Dedicated Server (Dedicated Bandwidth)
- Miami Dedicated Server (Dedicated Bandwidth)
- New York Dedicated Server (Dedicated Bandwidth)
- Seattle Dedicated Server (Dedicated Bandwidth)
- Amsterdam Dedicated Server (Dedicated Bandwidth)
- Frankfurt Dedicated Server (Dedicated Bandwidth)
- London Dedicated Server (Dedicated Bandwidth)
- Madrid Dedicated Server (Dedicated Bandwidth)
- Milan Dedicated Server (Dedicated Bandwidth)
- Paris Dedicated Server (Dedicated Bandwidth)
- Prague Dedicated Server (Dedicated Bandwidth)
- Stockholm Dedicated Server (Dedicated Bandwidth)
- Vienna Dedicated Server (Dedicated Bandwidth)
- Warsaw Dedicated Server (Dedicated Bandwidth)
- Zurich Dedicated Server (Dedicated Bandwidth)
- Hong Kong Dedicated Server (Dedicated Bandwidth)
- Singapore Dedicated Server (Dedicated Bandwidth)
- Tokyo Dedicated Server (Dedicated Bandwidth)
- Offshore Dedicated Server
- Shared Hosting
- Business Hosting
- Reseller Hosting
- Offshore VPS Hosting
- VPS Hosting
- Dedicated Server Jhunjhunu
- Offshore Hosting
- Announcements
- Knowledgebase
- Network Status
- Affiliates
- Contact Us
-
More