Some of the PHP modules can be easily installed from one of the cPanel default script.
Modules which can be installed are:
Follow the steps:
Login as root in to the server.
♦ /scripts/phpextensionmgr list
if you want to install EAccelerator in your server.
♦ /scripts/phpextensionmgr install EAccelerator
Thats it.. you have installed EAccelerator in your server.