We all use the optimized code to speed up the program, then we have to pay attention to another area of PHP acceleration - cache tool software. This type of software is speed up from the optimized PHP operating environment, and does not need to change any code. We can probably call them "Execute Code Optimization / Cache Tool", which you can understand for them to implement comparison underlying optimization / caches.
This type of tool currently is currently more commonly used, which is best, please test your own server environment:
(1) APC Alternative PHP Cache
http://pecl.php.net/package-info.php?package=apc
APC runs in Linux and FreeBSD, you need to compile install it yourself. According to its developers, it can improve the script speed of 50% -400% in their test environment. And the APC is an open source project, which has already joined the PECL library of PHP, which is worth a try.
(2) Turck mmcachehtp: //turck-mmcache.sourceforge.net/
Turck MMCache seems to be one of the most popular in such software, which opens the source code, completely free. It precompresses PHP code and caches, and also optimizes the PHP operating environment. According to its official documentation, MMCache can significantly reduce the load of the server and increase the speed of the script to 1-10 times.
MMCache is compatible with another well-known acceleration software Zend Optimizer, but pay attention to install MMCache (set in php.ini). In addition to speeding up the PHP program, MMCache can also encrypt PHP code.
Turck MMCache also supports Linux and Win32 platforms.
(3) PHPA the PHP Accelerator
http://www.php-accelerator
PHPA is another popular PHP acceleration software. In its official website, there are PHPa and APC, Zend Cache, execute test comparisons, which is slightly better than APC, slightly in Zend Cache.
PHPA supports Linux, FreeBSD, OpenBSD, BSDI, and Solaris systems.
(4) Zend Performance Suite
http://www.zend.com/
Zend Performance Suite is the old PHP acceleration / optimization software, depending on the most famous Zend, the PHP. At present, version 4.0 has been launched. It can accelerate, content caching, file compression, download services, etc., which can be very powerful, and get a recommended award for several PHP magazines - but they are also very expensive. The price is $ 1875.
The above acceleration software, I hope the reader will test and select the most applicable to the server environment, because I have no way to provide a universally applicable test standard to determine which solution is the most effective. Comprehensively, I personally think that Turck MMCache is a recommended choice, free and is quite good.