Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1261321
  • 博文数量: 315
  • 博客积分: 10397
  • 博客等级: 上将
  • 技术积分: 3731
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-07 21:21
文章分类

全部博文(315)

文章存档

2015年(10)

2014年(3)

2013年(2)

2012年(8)

2011年(8)

2010年(29)

2009年(59)

2008年(77)

2007年(119)

分类:

2007-11-23 10:16:39

About eAccelerator
eAccelerator是一个的免费、开源的PHP模块,它能够为提供PHP加速、优化、加码、和动态内容缓存功能。它通过存储PH脚本编译后的状态而加快执行PHP脚本的速度,而不需要频繁的编译这个PHP脚本。而且它能优化PHP脚本,以提高执行PHP的速度。eAccelerator特色是减少了服务器负载、使PHP脚本加速1-10倍。

you can download the eAccelerator binaries for your version of PHP 5.2.5
//对应你的php版本下载相应的dll文件.如果是PHP 5.2.5请下载



Attachment Size
120 KB
41.97 KB
120 KB
108 KB
120 KB
120 KB
120 KB
120 KB
120 KB
128 KB
120 KB
120 KB
120 KB
120 KB
28 KB
42.27 KB
28 KB
120 KB
28 KB
120 KB
120 KB
28 KB


We have been using this PHP accelerator (0.9.5), on multiple servers, for a long time. It's used on some high traffic sites without any problem.
Install:
a) Download a copy of eAccelerator that is compatible with your version of PHP.
This can be an issue with eAccelerator. Sometimes it can take a little time before the Windows binaries are available for the most recent version of PHP.
b) Copy a compatible eaccelerator.dll to your PHP extensions folder (like: c:\php\extensions replace with your actual folder location).
Make sure the configuration directive extension_dir in your php.ini is properly pointing to your extensions folder.
Like: extension_dir = "c:/php/extensions"
//将dll文件复制到c:/php/ext下.
c) Create a folder (with the appropriate permissions) for the temporary cached files.
For example: D:\tmp\eaccelerator
//创建tmp目录 权限可写
d) Add the following to your php.ini (as the first loaded extension):
.
.
.
;extension=php_yaz.dll
;extension=php_zip.dll
//编辑php.ini 在extension=php_zip.dll之后添以红字部分

[eaccelerator]
zend_extension_ts="C:\php\ext\eAccelerator0952_5.2.4.dll"
zend_extension="C:\php\ext\eAccelerator0952_5.2.4.dll"
eaccelerator.cache_dir = "D:\tmp\eaccelerator"
eaccelerator.shm_size="64"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.debug ="0"
eaccelerator.check_mtime="1"
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.c
zend_extension="C:\php\ext\eLoader0952_5.2.4.dll"


;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
.
.
.

e) Restart your Web Server.You can see..
阅读(1136) | 评论(0) | 转发(0) |
0

上一篇:注册Windows系统服务

下一篇:PHP测试方式

给主人留下些什么吧!~~