Install Zend OptimizerYou can use the official EXE, zendextensionmanager. dll and Optimizer-3.3.0/php-5.2.x/zendoptimizer. dll can be extracted and placed in a Zend folder, put the location, directly configure PHP. ini.
1. Assume that the file is installed in the D:/Wamp/Zend directory.
2. Modify PHP. ini and add the following lines at the end of PHP. ini.
[Zend]
Zend_optimizer.optimization_level = 15
Zend_optimizer.encoder_loader = 0
Zend_extension_ts = "D: \ Wamp \ Zend \ zendextensionmanager. dll"
Zend_extension_manager.optimizer_ts = "D: \ Wamp \ Zend \ Optimizer-3.3.0"
3. Save, restart Apache, and write a test. php file.<? PHP phpinfo ();?>If the following two figures show that Zend optimizer has taken effect.
Install eaccelerator
1. Download the compiled DLL file from http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds.
2. Put eaccelerator. dll in the D:/Wamp/PHP/EXT directory and create the cache directory D: \ Wamp \ TMP.
3. Configure eaccelerator in PHP. ini as a Zend plug-in. Add the following lines before the [Zend] configuration section above.
[Eaccelerator]
Zend_extension_ts = "D: \ Wamp \ PHP \ ext \ eaccelerator_ts.dll"
Eaccelerator. cache_dir = "D: \ Wamp \ tmp"
Eaccelerator. shm_size = "64"
Eaccelerator. Enable = "1"
Eaccelerator. optimizer = "1"
Eaccelerator. DEBUG = "0"
Eaccelerator. check_mtime = "1"
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"
4. Save and restart Apache. If the information shown in test. php above proves that eaccelerator has taken effect.