How to install eAccelerator for PHP 5.2.8 in IIS

  
                  

1, install PHP

2, install Zend

3, download the eAccelerator version corresponding to PHP (my own use is 0.9.5.3 for php 5.2.8, which comes with An eLoader doesn't know what to use?)

http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds

4, open the php.ini file and add it in front of [Zend] The following configuration information:

[eAccelerator]
zend_extension_ts="D:\\PHP\\ext\\eAccelerator0953_5.2.8.dll"
eaccelerator.shm_size="32"
eaccelerator.cache_dir= "D:\\PHP\\temp"
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"

This configuration information seems to be necessary Adding to the front of [Zend], I started working for a long time and it didn’t work. Later To the front, they have won. //This article transferred from www.45it.com computer software and hardware application network

Note: zend_extension_ts is the path of the eAccelerator file, eaccelerator.cache_dir is the cache directory, this self-built on the line. For example, C:\\php\\temp, make sure that his permissions are readable and writable for the user group, and do not move this directory in the future

5, save and restart IIS

After successful configuration, in phpinfo There will be with eAccelerator v0.9.5.3 display.

Copyright © Windows knowledge All Rights Reserved