Knowledge Base
MilesWeb / How-Tos

How to install eAccelerator on linux cPanel server ?

Approx. read time : 2 min

eAccelerator is a free open-source PHP optimizer & accelerator. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. Enhances execution of scripts. It typically reduces server load and increases the speed of your PHP code by 10 times. Stores compiled PHP scripts in shared memory and executes code directly from it. It creates locks for a short time, so one script can be executed at the same time by several engines. Files that can’t fit in shared memory are cached on disk.

Installing eAccelerator on your linux dedicated/VPS can be achieved by just one command.

# /scripts/phpextensionmgr install eAccelerator

Check with the command below if eAccelerator has been installed properly.

# php -v

The above script/command will install & add the extension in server’s php.ini file. Our cPanel hosting plans have eAccelerator v0.9.6.1 installed.

You can install it yourself with the command above on VPS hosting & Dedicated Server Hosting.

With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.