Home  >  Article  >  Backend Development  >  实现php加速的eAccelerator dll支持文件打包下载_php实例

实现php加速的eAccelerator dll支持文件打包下载_php实例

WBOY
WBOYOriginal
2016-05-17 09:38:56859browse

选择下载对应您的系统和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:\php\ext\eaccelerator.dll"     //路径根据您系统的情况而定,文件扩展名也是
eaccelerator.shm_size="64"     //根据你的系统内存来,默认16M,可以改成64M
eaccelerator.cache_dir="C:\php\temp"   //手动创建,例如C:\php\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"

把修改好的 php.ini 放入你的php配置目录 2003好像是 c:\windows\
打包文件下载

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