安装eaccelerator加速!论坛速度有原来的0.3提高到0.02!

环境:windows2003+iis6.0+5.14+zend2.62

┌──────┐
│详细安装步骤│
└──────┘

1.首先,我们下载编译好了的Module

选择下载对应您的系统和PHP版本的eAccelerator

2.将其重命名为 eaccelerator.dll (win版) 然后移至您的 php目录下 的 ext文件夹中

3.在c:php建立缓存文件夹 temp 修改权限为 user组可读写

3.根据您系统的情况,一般都是PHP 扩展 ISAPI
打开php.ini文件, 找到extension=php_zip.dll, 在下面添加

zend_extension_ts="C:phpexteaccelerator.dll"       //路径根据您系统的情况而定,文件扩展名也是
eaccelerator.shm_size="32"       //根据你的系统内存来,默认16M,可以改成64M
eaccelerator.cache_dir="C:php emp"     //手动创建,例如C:php emp,确保他的权限为可读写,并且以后不要动这个目录
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"

把修改好的 php.ini 放入你的php配置目录 2003好像是 c:windows

┌──────┐
│判断加速启动│
└──────┘

重起iis之前,的php信息 只显示zend……
加载eaccelerator.dll之后 php信息显示 zend…….with eAccelerator 说明加载成功


发表评论

邮箱地址不会被公开。 必填项已用*标注

click to changeSecurity Code