How To Install eAccelerator In Cpanel

eAccelerator is a PHP accelerator and optimizer. It helps improve performance by re-using compiled PHP scripts and optimizing them to speed up their execution.

In order to have it installed you will need a dedicated server environment because it requires global server changes. In cPanel its installation is very easy and fast following these two steps:

1. Make sure PHP runs as DSO Apache module. For this purpose log into your cPanel server WHM and go to 'Configure PHP and SuExec'. There make sure that the PHP 5 Handler is set to dso.

Note: If you are just changing the Apache handler now you may have problems with your files ownership. Before the above change your Apache server probably runs the scripts under your user and after the change to DSO it will run the scripts under the user/group nobody. To resolve this simply change user/group of Apache server to your user. This,however, might not be suitable if there is more than one user on the server. In this case simply change the permissions of any directory where the server has to write files to 777.

2. Next log in as root by ssh and issue the following command:

/scripts/phpextensionmgr install EAccelerator

With the above simple and easy steps your PHP (site as a whole) performance should be considerably improved with the help of eAccelerator.

Hostlantern offers the best cPanel hosting package. With it you can access and manage your cPanel without any problems.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to reboot your dedicated server via WHM?

The WHM panel provides two options for a server reboot: Forceful Server Reboot Graceful...

How to change the password for the root user via WHM?

In order to change the password for the root user you will need to access the WHM panel and...

How to access WHM?

WHM stands for Web Host Manager. This is the cPanel's server administrative management software....

How to restart a service on my dedicated server?

In order to restart a service on your dedicated machine, follow these steps: Log in your WHM...

How to edit the MX records of a domain on my dedicated server via WHM?

In order to edit an MX record of a domain on your dedicated server, follow these steps: Log in...