You can install Xcache without running EasyApache by using /scripts/phpextensionmgr. This script will install the following PHP extensions:
Code:
# /scripts/phpextensionmgr list
Available Extensions:
EAccelerator
IonCubeLoader
Zendopt
Xcache
SourceGuardian
PHPSuHosin
The usage is as follows:
Code:
# /scripts/phpextensionmgr
Usage:
phpextensionmgr [options] [action] [extension]
Options:
–help Help message
–prefix Installation prefix for PHP (normally /usr/local or /usr/local/php4)
Actions:
install Install or update the extension
uninstall Uninstall the extension
status Display the installation status of the extension
list Show available extensions
Note: Since PHP extensions only required an extension= line in the php.ini file, there is no need to rebuild all of Apache and PHP. /scripts/phpextensionmgr is much more convenient and much faster than running EasyApache to install these extensions
You should not need to do this every time you run EasyApache. However, to make sure all your extensions are still installed, run php -v after you run EasyApache. You will see each extension that is installed listed. Here is an example from a test server (that does not have Xcache installed):