Eaccelerator is an open source PHP accelerator, optimization and dynamic content cache, improve the caching performance of PHP script, so that PHP script in the state of compilation, the cost of the server is almost completely eliminated, let me give you students to introduce PHP 5.2.17 installation Eaccelerator method
There is a non-thread-safe and thread-safe version in this package. Eaccelerator_ts.dll is a thread-safe version, 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. The file contains thread safe (thread safe) and non thread safe (non-thread-safe version), depending on the version of PHP you use.
First, related download
Eaccelerator 0.9.6.1 for PHP5.2.17 (DLL)
Second, installation method
1. Select the appropriate version
Depending on your PHP thread-safe version, select the appropriate file and copy it to the subdirectory ext in the PHP directory, and change the name 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 (as appropriate), 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临时文件路径 (user readable and writable)
3. Save and restart IIS
Execute in cmd: IISRESET, restart IIS, and use Phpinfo to view, if prompted, to indicate that the installation was successful.
http://www.bkjia.com/PHPjc/629827.html www.bkjia.com true http://www.bkjia.com/PHPjc/629827.html techarticle Eaccelerator is an open source PHP accelerator, optimized and dynamic content caching, improve the caching performance of PHP script, so that PHP script in the state of compilation, the cost of the server almost completely eliminated ...