There are non thread safe and thread safe versions in this package. Eaccelerator_ts.dll is a thread-safe version, and Eaccelerator_nts.dll is a non-thread-safe version. The eaccelerator is compiled using the latest published PHP 5.2.17, please confirm your PHP version before use. Files contain thread safe (thread safety) and non thread safe (non-threaded versions), depending on the version of PHP you are using.
First, related downloads
Eaccelerator 0.9.6.1 for PHP5.2.17 (DLL)
Second, the installation method
1, select the appropriate version
According to your PHP thread safe version, select the appropriate file and copy it to the subdirectory in the PHP directory ext, and rename it to Php_eaccelerator.dll.
2, set the corresponding 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"
Please edit the C:windowsphp.ini file (according to the actual situation), copy the above parameters to the bottom of php.ini, and modify the following path.
zend_extension_ts= "D:/php5/ext/php_eaccelerator.dll" #您的PHP路径
Eaccelerator.cache_dir= "D:/php5/tmp" #您的PHP临时文件路径 (to have user read-write permission)
3, Save, restart IIS
executes in cmd: IISRESET, restart IIS, and use Phpinfo to view, if prompted, the following figure to indicate that the installation was successful.