[Reposted] MMCache Acceleration Software Installation Description

xiaoxiao2021-03-06  40

The program of commercial applications, the program execution speed is also a function of the user's concern. At present, PHP acceleration software is more famous for Zend, PHP Accelerator, Afterburner, Turck MMCache, and so on. According to the analysis, Turck MMCache currently evaluated the industry in the industry, only some micro gaps behind the Zend Accelerator. The important thing is that Turck MMCache is GPL copyright.

SourceForge http://sourceforge.net/projects/turck-mmcache/ Site Linux Quick installation § Steps 1. Compile Turck MMCache ------------------- ---------------------------------------- PHPIZE ./configure --Nable-mmcache = Shared make ------------------------------------------------ ------------- § Step 2. Install Turck MMCache --------------------------------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------- -------------------------------------------- (note! Do this action After that, the installation path of MMCache.so will appear, the path is set in php.ini) § Step 3. Set Turck MMCache Turck MMCache can be installed into Zend or PHP extension components, so you must edit your php.ini file (Usually /etc/php.ini or /usr/local/lib/php.ini). To install into Zend extension Editor: -------------------- ----------------------------------------- zend_extension = "/ usr / lib / php4 /mmcache.so "(path to modify, depending on your installation results) mmcache.shm_size =" 16 "mmcache.cache_dir =" / tmp / mmcache "mmcache.enable =" 1 "mmcache.optimizer =" 1 "MMCache .check_mtime = "1" mmcache.debug = "0" mmcache.filter = "" ----------------------------------------------------------------------------------------------------------- ------------------------------ want to install into PHP expansion components: ------------ ------------- ------------------------------------ extension = "mmcache.so" (path to modify) MMCache . SHM_SIZE = "16" mmcache.cache_dir = "/ tmp / mmcache" mmcache.enable = "1" mmcache.Optimizer = "1" mmcache.deck_mtime = "1" mmcache.debug = "0" mmcache.filter = ""

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

New Post(0)