Install Turck MMCache for PHP

xiaoxiao2021-03-06  70

First download Turck mmcache http://turck-mmcache.sourceforge.net/ of PHP

1. Copy all the files of Turck MMCache to the C: / PHP / MMCache directory 2, create a temporary directory C: / TMP / MMCache3, modify the pHP.ini into the following content ########### ################ zend_extension_ts = "c: / php/mmcache/mmcache.dll" mmcache.shm_size = "32" mmcache.cache_dir = "c: / tmp / mmcache" MMCache .enable = "1" mmcache.optimizer = "1" mmcache.check_mtime = "1" mmcache.debug = "0" mmcache.filter = "" mmcache.shm_max = "0" mmcache.shm_ttl = "0" mmcache.shm_prune_period = "0" mmcache.shm_only = "0" mmcache.compress = "1" #############################

Copy to php.ini's final, pay attention to modify Zend_extension_ts = "c: / php/mmcache/mmcache.dll" // mmcahe where the directory mmcache.cache_dir = "c: / tmp / mmcache" // mmcache temporary directory is yourself The defined directory mmcache.shm_size = "16" is the memory value, if the memory is large, it is bigger

If you want to put it with Zend, just put the Zend_Extension_TS = "C: /PHP/MMCache/mmcache.dll" to load the Zend accelerator in [Zend Option] Zend_extension_ts = "C: / Program Files / Zend / Lib / Zendoptimizer. DLL "can be in front.

After installing, restart Apache View See

Turck MMCache explains the installation completed

转载请注明原文地址:https://www.9cbs.com/read-92138.html

New Post(0)