Xcache install on debian

CB4

New member
Joined
Mar 1, 2010
Messages
3
Hi,

Im using debian 5, Apache 2.2.15, Php 5.3.2..

How should I install xcache:

Code:
[URL="http://xcache.lighttpd.net/wiki/XcacheRedist"]apt-get install php5-xcache[/URL]

or
Code:
[URL="http://xcache.lighttpd.net/wiki/InstallFromSource"]~/src $ wget http://... (the release url)
~/src $ tar -zxf xcache-*.tar.gz
~/src $ cd xcache
~/src/xcache $ phpize
~/src/xcache $ ./configure --enable-xcache
~/src/xcache $ make
~/src/xcache $ su
~/src/xcache # make install
~/src/xcache # cat xcache.ini >> /etc/php.ini
(it's two > not one)

(now edit /etc/php.ini with your favorite editor)
~/src/xcache # $EDITOR /etc/php.ini
(make sure zend_extension=../../xcache.so is the first before any other zend_extension=***)
[/URL]
 
Are you using custombuild?

Any php modules should be installed using custombuild. I wouldn't recommend using apt-get method.

Check out the KnowledgeBase on how to setup custom php modules:

http://help.directadmin.com/item.php?id=252

If you want to add any extra modules to php, they'll most likely need to be compiled in. Any module that needs to be compiled in will have a --with-module type flag which will need to be used. To add this flag, run the following:
Code:
cd /usr/local/directadmin/custombuild
mkdir -p custom/ap2
cp -fp configure/ap2/configure.php5 custom/ap2/configure.php5
#add your --with-module line to the end of the custom/ap2/configure.php5 file,
# and make sure the \ character exists at the end of all lines except the last one.
./build php n
 
hi that ok
Thenks you

php -v
PHP 5.3.19 (cli) (built: Dec 17 2012 04:20:35)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
with XCache v1.3.0, Copyright (c) 2005-2009, by mOo
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
with Zend Optimizer+ v4.1, Copyright (c) 1999-2010, by Zend Technologies
 
Back
Top