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.
...