eaccelerator php5,eAccelerator(windows) for php5.2.x

堵彬彬
2023-12-01

修改php.ini,增加eAccelerator配置信息。

在php.ini最后面加如下代码

[eaccelerator]

zend_extension_ts="E:\php\ext\eAccelerator.dll"

eaccelerator.shm_size="64"

eaccelerator.cache_dir="D:\test\temp"

eaccelerator.enable="1"

eaccelerator.optimizer="1"

eaccelerator.check_mtime="1"

eaccelerator.debug="0"

eaccelerator.filter=""

eaccelerator.shm_max="0"

eaccelerator.shm_ttl="0"

eaccelerator.shm_prune_period="0"

eaccelerator.shm_only="0"

eaccelerator.compress="1"

eaccelerator.compress_level="9"

eaccelerator.keys = "shm"

eaccelerator.sessions = "shm"

eaccelerator.content = "shm"

[Zend]

zend_extension_manager.optimizer_ts="e:\Zend\ZendOptimizer-3.3.0\lib\Optimizer-3.3.0"

zend_extension_ts="e:\Zend\ZendOptimizer-3.3.0\lib\ZendExtensionManager.dll"

注意 :如果你使用了thread safe模式安装的PHP,你必须使用 “zend_extension_ts” ,而不是”zend_extension”

无限星辰 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明eAccelerator(windows) for php5.2.x!

 类似资料: