加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

用windows下编译过的eAccelerator for PHP 5.1.6实现php加速的使

发布时间:2020-12-13 21:41:28 所属栏目:Windows 来源:网络整理
导读:官方地址:A href="http://www.arnot.info/eaccelerator/"gt;http://www.arnot.info/eaccelerator/ 选择下载对应您的系统和PHP版本的eAccelerator 2.将其重命名为eaccelerator.dll(win版)然后移至您的php目录下的ext文件夹中 3.在c:php建立缓存文件夹temp

官方地址:<A href="http://www.arnot.info/eaccelerator/"&gt;http://www.arnot.info/eaccelerator/
选择下载对应您的系统和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="64"//根据你的系统内存来,默认16M,可以改成64M
eaccelerator.cache_dir="C:phptemp"//手动创建,例如C:phptemp,确保他的权限为可读写,并且以后不要动这个目录
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.......witheAccelerator说明加载成功

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读