search
Homephp教程php手册用windows下编译过的eAccelerator for PHP 5.1.6实现php加速的使用方法

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

Jun 13, 2016 pm 12:31 PM
eacceleratorforphpwindowsDownInstructionsaccelerateaccomplishuseofcompile

官方地址: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:\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\

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

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

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),