WHAT IS eAccelerator ?

Description of your first forum.
Post Reply
makaylascott347
Posts: 13
Joined: Thu Jan 22, 2015 4:20 pm

WHAT IS eAccelerator ?

Post by makaylascott347 » Thu Jul 30, 2015 11:13 pm

Hello everybody,

Any one knows about eAccelerator, What is that and how to Install it In Cpanel and CentOS?

Advance Thanks.

adrianjohnson165
Posts: 8
Joined: Thu Jan 22, 2015 5:00 pm

Re: WHAT IS eAccelerator ?

Post by adrianjohnson165 » Fri Jul 31, 2015 2:59 pm

eAccelerator is a open-source PHP accelerator & optimizer. It helps increases the performance of PHP scripts by re-using in their compiled state, so that the extra of compiling is approximately completely reduced. It also optimizes scripts to speed up their execution.

eAccelerator naturally decreases server load and increases the speed of PHP code by 1-10 times. It stores compiled PHP scripts in shared memory and executes code directly from it.

How to Install eAccelerator in Cpanel

In cPanel eAccelerator installation is very simple and fast following these two steps:

1. Check PHP runs as DSO Apache module.

For this reason log into cPanel server WHM and go to 'Configure PHP and SuExec'. There confirm that the PHP 5 Handler is set to dso.

2. Next log in as root by ssh and type the following command:
/scripts/phpextensionmgr install EAccelerator

With the above simple and easy steps our PHP performance should be significantly get better with the facilitate of eAccelerator.

How To Install eAccelerator In CentOS

There are 2 methods for install eAccelerator in CentOS

Method 1. PHP eAccelerator can be just installed using yum package manager on CentOS and RHEL systems.
Method 2. Also we can utilize source code to install it.

Method 1. Using yum Package Manager

To install php eAccelerator using yum simply type below command.
# yum install php-eaccelerator

We also need to restart web server to make it working, just type this command.
# service httpd restart

Method 2. Using Source Code

Most of customers keep away from using source install. If PHP eAccelerator is not offered in binary package, we can use below steps to install eAccelerator.

Download and Extract Source Archive
Type following commands to download latest PHP eAccelerator .

# cd /opt
# wget https://codeload.github.com/eaccelerato ... /zip/0.9.6 -O eaccelerator-0.9.6.zip
# unzip eaccelerator-0.9.6.zip


Install PHP eAccelerator
After extracting php eAccelerator type following commands to compile source and install it.

# cd eaccelerator-0.9.6
# phpize
# ./configure
# make
# make install


Creating Cache Directory
We need to create cache directory and set up required permissions.

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


Restart Web Server
To allow new php configuration we need to restart web server.

# service httpd restart

hollyjames879
Posts: 11
Joined: Thu Jan 22, 2015 3:57 pm

Re: WHAT IS eAccelerator ?

Post by hollyjames879 » Tue Oct 13, 2015 10:05 pm

eAccelerator will help speed up websites loading speed, it is important to realize how php scripts are executed and run to power websites.

aabhabakshi
Posts: 7
Joined: Wed Jan 21, 2015 4:16 pm

Re: WHAT IS eAccelerator ?

Post by aabhabakshi » Fri Oct 29, 2021 3:13 am

The MMCache extension for the PHP programming language inspired eAccelerator, a PHP accelerator. A bytecode cache is provided by eAccelerator. eAccelerator is free to use and distribute because it is open source. An encoder was also included in older and unmaintained versions.

joshuamatthew254
Posts: 12
Joined: Wed Jan 21, 2015 5:18 pm

Re: WHAT IS eAccelerator ?

Post by joshuamatthew254 » Fri Dec 10, 2021 4:23 am

eAccelerator is a PHP accelerator and optimizer that is available for free. It improves the efficiency of PHP scripts by caching them in their compiled state, almost eliminating the overhead of compiling. It also optimises scripts to make them run faster. eAccelerator decreases server load and speeds up your PHP code by 1-10 times on average.

eAccelerator keeps compiled PHP scripts in shared memory and runs code from there. It only produces locks for a brief period when looking for a built PHP script in the cache, allowing one script to be performed by several engines at the same time. Files that are too large to fit in shared memory are cached solely on disc.

Post Reply
cron