如何在php配置xcache

WBOY
Release: 2016-06-20 12:51:09
Original
814 people have browsed it

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中

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!