solaris10上安装Xcache
1, 安装autoconfwget http://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz
2. 安装m4
wget http://ftp.gnu.org/gnu/m4/m4-1.4.10.tar.gz
3. 安装xcache
wget http://xcache.lighttpd.net/pub/Releases/1.2.2/xcache-1.2.2.tar.gz
cd xcache...
/usr/local/php/bin/phpize
./configure --enable-xcache --with-php-config=/usr/local/php/bin/php-config
cat xcache.ini >> /usr/local/php/etc/php.ini
cp -r admin /data/php/htdocs/
编辑php.ini
将zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so改为
zend_extension = /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/xcache.so
注释掉zend_extension_ts = c:/php/extensions/php_xcache.dll
修改xcache.admin.user = "admin"
修改xcache.admin.pass = "your_md5_passwd"
修改xcache.size= 64M
xcache.count = 4
xcache.gc_interval = 300
xcache.var_size= 1M
xcache.var_count = 4
重启php-cgi
版权声明:本文为博主原创文章,未经博主允许不得转载。
页:
[1]