How to use the eAcceleratorforPHP5.1.6 compiled in windows to accelerate php _ PHP Tutorial

Source: Internet
Author: User
Use the eAcceleratorforPHP5.1.6 compiled in windows to implement php acceleration. Official Address: www. arnot. infoeaccelerator: Select to download the eAccelerator2. for your system and PHP version, and rename it eaccelerator. dll (win Edition) then move to your php Directory Official Address: http://www.arnot.info/eaccelerator/
Select to download the eAccelerator corresponding to your system and PHP version

2. rename it as eaccelerator. dll (win version) and move it to the ext folder under your php directory.

3. create the cache folder temp in c: \ php \ and change the permission to the user group for read/write.

3. according to your system, the ISAPI is generally extended by PHP.
Open the php. ini file, find extension = php_zip.dll, and add

Zend_extension_ts = "C: \ php \ ext \ eaccelerator. dll" // The path depends on your system. the file extension is also
Eaccelerator. shm_size = "64" // based on your system memory, the default value is 16 MB, which can be changed to 64 MB.
Eaccelerator. cache_dir = "C: \ php \ temp" // manually create a directory, for example, C: \ php \ temp. make sure that its permissions are read/write and do not change this directory in the future.
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"

Put the modified php. ini in your php configuration Directory 2003, which seems to be c: \ windows \

┌ ── ─ ┐
│ Determine acceleration start │
└ ── ─ ┘

Before iis is restarted, only zend... is displayed in the php information ......
After loading eaccelerator. dll, the php information displays zend ...... with eAccelerator, indicating that the load is successful.

Composer select to download the eAccelerator corresponding to your system and PHP version 2. rename it as eaccelerator. dll (win version) and move it to your php directory...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.