Home >Backend Development >PHP Tutorial >如何在php配置xcache

如何在php配置xcache

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-20 12:51:09899browse

xcache的配置文件默认在解压目录的下

例如:

        /usr/local/src/xcache-1.3.2/xcache.ini


调整配置参数

;zend_extension=/usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so

;zend_extension=c:/php/extensions/php_xcache.dll

extension=xcache.so

xcache.size    =            128M

xcache.count    =            2

xcache.ttl    =                86400

xcache.go_interval    =        3600

xcache.var_size    =            0


修改完毕后将修改的内容加入php.ini中

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn