리눅스 엔지니어였던 2008. 9. 15. 18:08

Install XCache

########################################################################
# OS: Red Hat Enterprise Linux ES release 4                            #
#               #
# Download: http://210.51.190.228/pub/XCache/rc/1.0.3-rc1/        #
#               #
# Documents: http://trac.lighttpd.net/xcache/wiki/InstallFromSource    #
#               #
########################################################################

wget http://210.51.190.228/pub/XCache/rc/1.0.3-rc1/xcache-1.0.3-rc1.tar.bz2

bzip2 -dc xcache-1.0.3-rc1.tar.bz2 | tar xvf -

cd xcache

phpize

Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20021010

./configure --enable-xcache

(or ./configure

make

make install

cat xcache.ini >> /usr/local/lib/php.ini

vi /etc/php.ini