This article needs to be updated.(December 2014)
This is a list of PHP accelerators.
Alternative PHP Cache is a free and open (PHP license) framework that caches the output of the PHP bytecode compiler in shared memory, thus reducing parsing and disk I/O overhead for later requests; and a shared memory cache for user data. For an application consisting of a large source code base such as Drupal, a 3x increase in page generation speed is possible as a result.
It has been used at Facebook and has a mature codebase thanks to numerous contributors, including Facebook itself.
APC was originally scheduled for inclusion into the PHP core no later than PHP 6. While multiple accelerator projects were considered desirable, the focus has since moved to Optimizer Plus, and, later, Zend Opcache that is included in the core distribution as of PHP 5.5. Since March 2013, a beta version of APCu (APC User Cache) is available, in which all opcode caching abilities have been removed to support user caches in shared memory using the familiar APC API.
eAccelerator was born in December 2004 as a fork of the Turck MMCache project. Turck MMCache was created by Dmitry Stogov and much of the eAccelerator code is still based on his work. eAccelerator also contained a PHP encoder and loader, but the development staff discontinued the encoder and removed this feature after December 2006.
Launched in 2001, ionCube PHP Accelerator (PHPA) was the first freely available PHP accelerator to compete with the commercial Zend Cache product. Created before ionCube Ltd. was founded and at a time when the performance of PHP was regarded as lackluster when compared to other popular web programming languages, PHPA showed that PHP can compete with other languages performance-wise. Although the author of PHPA chose to keep the project closed source in response to early concerns raised by Zeev Suraski of Zend Technologies about the effect that an open source rival might have on their commercial alternative, the availability of PHPA on a wide variety of platforms led to its extensive adoption worldwide from small sites to Yahoo!. It also inspired the redevelopment of APC to use the shared memory execution techniques that PHPA and Zend Cache had adopted instead of deserialization on each request that incurred performance penalties.
Turck MMCache is now discontinued.eAccelerator is a fork of Turck MMCache.
XCache is a fast, stable PHP opcode cacher that has been tested and is now running on production servers under high load. It is tested on GNU/Linux and FreeBSD and supported under Windows, for thread-safe and non-thread-safe versions of PHP. This relatively new opcode caching software has been developed by mOo, one of the developers of Lighttpd, to overcome some of the limitations of the existing solutions at that time; such as being able to use it with new PHP versions as they arrive.
PhpExpress is a free PHP opcode cache that loads both Nu-Coder (commercial) encoded and plain PHP files directly into the PHP engine, saving loading time and boosting performance of PHP applications. It's available on Windows, Linux, FreeBSD, NetBSD, Mac OS X, and Solaris.
Zend Opcache is an open source component of Zend Server and Zend Server Community Edition. Zend Opcache speeds up PHP execution by opcode caching and optimization. It stores precompiled script bytecode in shared memory. As of version 7.0 it can store precompiled script bytecode on disk. This eliminates the stages of reading code from the disk and compiling it on future access. For further performance improvements, the stored bytecode is optimized for faster execution. Unlike Zend Optimizer, Zend Opcache doesn't load files encoded by Zend Guard. Zend provides another component, Zend Guard Loader, in order to load encoded applications with Zend Server and Zend Server Community Edition.
Zend Optimizer+ was renamed to Zend Opcache mid of March 2013.
Starting with PHP 5.5 the Zend Opcache is integrated and shipped with PHP.
Zend Platform (formerly Zend Cache and then Zend Accelerator) is a commercial Web Application Server product. It has a complete set of performance capabilities that includes more than a simple PHP accelerator. Features include code caching/acceleration, data caching, content (html output) caching, download optimization and off-line (asynchronous) processing capabilities that can result in significant performance improvements for most PHP applications. It also includes detailed PHP monitoring and root cause analysis support to help in tuning and debugging, session fail-over support for HA (High Availability) needs and other integration capabilities including Java integration.
A free, open source (New BSD License), PHP accelerator developed by Microsoft for PHP under Windows. The extension includes PHP opcode cache, file cache, resolve file path cache, object/session cache, file change notifications and lock/unlock API's. Combination of all these caches results in significant performance improvements for PHP applications hosted on Windows. The extension is primarily used with Internet Information Services and non-thread-safe build of PHP via FastCGI protocol.
|Name||Availability||Opcode cache||File cache||Resolve file path cache||Object/session cache||Optimization||Cache in memory||Source encoding|
|PHP Accelerator (PHPA)||Discontinued||Yes||Yes||?||No||Yes||Yes||No|
|Zend Opcache (ex. Zend Optimizer+)||Maintained||Yes||Yes||?||No||Yes||Yes||No|
|PHP accelerators||Availability||OS||Web servers||PHP version|
|Windows||GNU/Linux||FreeBSD||Mac OS X||NetBSD||Solaris||IIS||Apache||Nginx||5.2||5.3||5.4||5.5||5.6||7.0||7.1||7.2||7.3|
|Zend Opcache (ex. Zend Optimizer+)||Maintained||Yes||Yes||Yes||Yes||?||No||Yes||Yes||Yes||Yes||Yes||Yes||Yes||Yes||Yes||Yes||Yes||Yes|
|Zend Platform ||Discontinued||No||Yes||No||No||No||Yes||No||Yes||No||Yes||No||No||No||No||No||No||No||No|
Zend Guard Loader, formerly known as Zend Optimizer, is a free PHP extension by Zend Technologies that loads files encoded and obfuscated by Zend Guard. It does not optimize or cache PHP's byte code.
Edited: 2021-06-18 14:11:31