No need to run easyapache to install/uninstall modules like zend optimizer, ioncube, etc. You can use the command /scripts/phpextensionmgr to do it.
Syntax:
/scripts/phpextensionmgr install module_name
You can see the supported modules using the command: /scripts/phpextensionmgr list .
root@host [~]# /scripts/phpextensionmgr list Available Extensions: EAccelerator IonCubeLoader Zendopt SourceGuardian PHPSuHosin
Let us know if you have any queries.