Install eAccelerator in PHP5.2.17 in windows _ PHP Tutorial

Source: Internet
Author: User
Install the eAccelerator method in PHP5.2.17 in windows. EAccelerator is an open-source php accelerator that optimizes and dynamically caches content, improves the cache performance of php scripts, and enables PHP scripts to be compiled, the server overhead is almost completely eliminated. eAccelerator is an open source php accelerator, which optimizes and dynamically caches content, improves the cache performance of php scripts, and enables PHP scripts to be compiled, the server overhead is almost completely eliminated. next I will introduce you to the eAccelerator installation method in PHP 5.2.17.

This package contains non-thread security and thread security versions. EAccelerator_ts.dll is a thread-safe version, and eAccelerator_nts.dll is a non-thread-safe version. This eAccelerator is compiled using the latest PHP 5.2.17 version. make sure that your PHP version is correct before use. The file contains Thread safe (Thread security) and Non-Thread Safe (Non-Thread security version). please select your PHP version.

1. related downloads

EAccelerator 0.9.6.1 For PHP5.2.17 (DLL)

II. installation method


1. select a version


Based on your PHP thread security version, select the corresponding file, copy it to the ext subdirectory under the php directory, and change it to php_eaccelerator.dll.

2. set parameters


[Eaccelerator]
Zend_extension_ts = "d:/php5/ext/php_eaccelerator.dll"
Eaccelerator. shm_size = "64"
Eaccelerator. cache_dir = "d:/php5/tmp"
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"
Eaccelerator. keys = "shm"
Eaccelerator. sessions = "shm"
Eaccelerator. content = "shm"

Edit the C: windowsphp. ini file (based on the actual situation), copy the preceding parameters to the bottom of php. ini, and modify the following path.

Zend_extension_ts = "d:/php5/ext/php_eaccelerator.dll" # Your PHP path
Eaccelerator. cache_dir = "d:/php5/tmp" # path of your PHP temporary file (the user must have the read and write permissions)

3. save and restart IIS


Run IISRESET in CMD, restart IIS, and run phpinfo to check the installation. if a prompt is displayed, the installation is successful.

...

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.