~/src $ wget
~/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
** 檢視php.ini配置檔案,確實extension = xcache.so 存在
##把後台管理檔案複製到根目錄下
cp -a /usr/xcache/htdocs /var/www/xcache-admin
##登入xcache的使用者名稱和密碼可以在php.ini修改
xcache.admin.user = "admin"
xcache.admin.pass = "e10adc3949ba59abbe56e057f20f883e"
密碼是用php的md5("123456")加密的
附:1.如果phpize命令不存在,可以安裝apt-get install php5-dev
XCache安裝配置
安裝xcache模組 phpize configure with php config usr local php bin php config enable xcache enable xcache optimizer make make install 算出密碼的md5字串 echo n 123...
xcache的使用與配置
一 安裝xcache wget tar zxvf xcache 1.3.0.tar.gz cd xcache 1.3.0 usr local php bin phpize configure enable xcache enable xcache coverager enable xcache op...
nginx環境下 XCache安裝配置
二 安裝模組 tar zxvf xcache 1.2.2.tar.gz cd xcache 1.2.2 usr local php bin phpize configure with php config usr local php bin php config enable xcache enab...