Installing and enabling Xcache is very easy in kloxo, you need to run following command to install
1 |
sh /script/xcache-install |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
[root@ ~]# sh /script/xcache-install Loaded plugins: fastestmirror, protectbase Loading mirror speeds from cached hostfile * base: ftp.osuosl.org * extras: mirror.wiredtree.com * updates: mirror.steadfast.net 0 packages excluded due to repository protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php-xcache.i386 1:5.2.17-1.3.1.jason.2 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: php-xcache i386 1:5.2.17-1.3.1.jason.2 lxcenter-updates 174 k Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 0 Package(s) Total download size: 174 k Downloading Packages: php-xcache-5.2.17-1.3.1.jason.2.i386.rpm | 174 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : php-xcache 1/1 warning: /etc/php.d/xcache.ini created as /etc/php.d/xcache.ini.rpmnew Installed: php-xcache.i386 1:5.2.17-1.3.1.jason.2 Complete! |
Once installed, go to kloxo >> Web-Mail-Databases >> PHP config
And check on “Enable Xcache”
Restart apache after that
1 |
service httpd restart |
1 2 3 4 5 6 7 8 |
[root@ ~]# php -v PHP 5.2.17 (cli) (built: Feb 21 2011 04:28:54) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies with XCache v1.3.1, Copyright (c) 2005-2010, by mOo with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube Ltd., and with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies |
Hello,
Just want to share,
xcache never work on Kloxo because it conflicts with zend 3.x.x
just check the xcache.ini file at :
/usr/local/lxlabs/kloxo/file/centos-5/xcache.ini
/usr/local/lxlabs/kloxo/file/xcache.ini
/usr/share/doc/php-xcache-5.2.17/xcache.ini
/etc/php.d/xcache.ini
The zend_extension parameter for linux is commented, and it is uncommented for windows.
It works well if you turn off zend and set the xcache.ini properly
Thanks,
vRozenSch00n
p.s. it will run even faster if you install mod_pagespeed, but remember mod_pagespeed really resource hungry.
yes, that correct 🙂
how to update php and mysql LxAdmin sir?
sorry not following post 🙂