im use fcgi
i just add this line to php.ini file
xcache.size = 64M
xcache.var_size = 4M
now shown xcache work !! but i want to know 100% how install Xcache successfully Thanks
CPanel - Easy Apache now support XCache!
Don't forget to upgrade to latest CPanel.
www.kotakomputer.net - Indonesian CPanel Specialist - 082 111 978 168
Every time I google this question, I get this forum link, so here is what I think is the much easier way to go about it.
cPanel has made a ton of scripts for the command line, so always look there first....
They have a tool called phpextensionmgr which handles this for you. you can use 'list' to learn what other extensions is handles
First, use Easyapache to make sure the xcache support is compiled in.
Second, SSH in to the box and use the "/scripts/phpextensionmgr install xcache" command and it will compile xcache for you.
To uninstall, simply run "/scripts/phpextensionmgr uninstall xcache"
We definitely recommend using /scripts/phpextensionmgr to install and uninstall PHP extensions. They are extensions, so installing and uninstalling them does not require rebuilding all of Apache and PHP. Not only is is much faster to use /scripts/phpextensionmgr, there is less risk of something going wrong during an unnecessary Apache and PHP build.
/scripts/phpextensionmgr will install and uninstall the following extensions:
Its usage is as follows:Code:# /scripts/phpextensionmgr list Available Extensions: EAccelerator IonCubeLoader Zendopt Xcache SourceGuardian PHPSuHosin #
Code:# /scripts/phpextensionmgr help 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 #
For hands-on assistance, please reference our new support information page: Where should I go for support?
cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation - Find cPanel hosting
-- Jared Ryan, Technical Analyst, cPanel Technical Support
im use the "/scripts/phpextensionmgr install xcache"
but xcache anyway does not work .. what i need to do after install xcache? /http://estyle.lv/phpinfo.php is my phpinfo and i dont see xcacheCode:> Got ret value 0 from system( make ) > Will now run system( make,install ) > Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ > Got ret value 0 from system( make,install ) > Will now run system( make,clean ) > find . -name \*.gcno -o -name \*.gcda | xargs rm -f > find . -name \*.lo -o -name \*.o | xargs rm -f > find . -name \*.la -o -name \*.a | xargs rm -f > find . -name \*.so | xargs rm -f > find . -name .libs -a -type d|xargs rm -rf > rm -f libphp.la modules/* libs/* > Got ret value 0 from system( make,clean ) > Xcache extension activated > ./cpanel-install exiting with exit code 0