List of PHP accelerators: Difference between revisions

Content deleted Content added
Comparison of features: Again scroll bars for wide tables. Otherwise on mobile the page is scaled down to fit the table on screen, making the rest of the article barely legible.
Tags: Mobile edit Mobile web edit
m clean up punctuation and spacing issues, primarily spacing around commas, replaced: ,A → , A
 
(18 intermediate revisions by 15 users not shown)
Line 1:
{{Short description|none}}
{{Update|date=December 2014}}
 
Line 8 ⟶ 9:
It has been used at Facebook and has a mature codebase thanks to numerous contributors, including Facebook itself.<ref>{{cite web|url=http://blog.facebook.com/blog.php?post=2356432130 |title=PHP and Facebook |publisher=Blog.facebook.com |date= |accessdate=2014-02-14}}</ref>
 
APC was originally scheduled for inclusion into the PHP core no later than PHP 6.<ref>{{cite web|url=http://marc.info/?t=127695394900001 |title='[PHP-DEV&#93; APC in trunk' thread - MARC |publisher=Marc.info |date= |accessdate=2014-02-14}}</ref> While multiple accelerator projects were considered desirable,<ref>{{cite web|url=http://marc.info/?l=php-internals&m=127718675117620&w=2 |title='Re: [PHP-DEV&#93; APC in trunk' - MARC |publisher=Marc.info |date= |accessdate=2014-02-14}}</ref> the focus has since moved to Optimizer Plus,<ref>{{cite web|url=https://wiki.php.net/rfc/optimizerplus |title=PHP: rfc:optimizerplus |publisher=Wiki.php.net |date= |accessdate=2014-02-14}}</ref><ref>{{cite web|url=https://bugs.php.net/bug.php?id=64625 |title=PHP :: Bug #64625 :: Segfault on PHP 5.4.13 and APC 3.1.13 |publisher=Bugs.php.net |date= |accessdate=2014-02-14}}</ref> and, later, Zend OpcacheOPcache that is included in the core distribution as of PHP 5.5.<ref name="zend-opcache" /> 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.<ref>{{cite web|url=http://pecl.php.net/package/APCu |title=PECL :: Package :: APCu |publisher=Pecl.php.net |date= |accessdate=2014-02-14}}</ref>
 
* ''Website:'' http://pecl.php.net/package/APC
Line 14 ⟶ 15:
* ''Latest beta version:'' 3.1.13 (2012-09-03)
* ''Latest stable version:'' 3.1.9 (2011-05-14)
* ''Status:'' Dormant, potentially dead (no new releases since September 2012), APCu still ongoing.
* ''Download link:'' http://pecl.php.net/package/APC (source code, required for up-to-date compilation)
* ''Official installation help:'' http://php.net/apc.setup and http://php.net/apc.installation (extension ''must'' be compiled against the ''sources of the PHP version it is to be used with''; includes instructions for building on Windows)
Line 20 ⟶ 21:
== eAccelerator ==
{{Multiple issues|
{{Cleanup MOS|section|date=February 2013}}
{{Update|section|inaccurate=y|date=February 2013}}
}}
Line 28 ⟶ 29:
* ''PHP version:'' Supports PHP 4 and all PHP 5 thread-safe releases including 5.4. In older releases, the encoder will only work with PHP versions from the 4.x.x branch. eAccelerator will not work with any other versions of PHP. eAccelerator can only be used with the thread-safe version of PHP.
* ''Latest stable version:'' 0.9.6.1 (2010-05-31)
* ''Status:'' Dormant, potentially dead (no new releases since July 2012). The last public activity was the transfer to GithubGitHub by Hans Rakers. The master branch supports PHP 5.4.
* [https://github.com/eaccelerator/eaccelerator Github repository]
* ''Download link: (look for latest versions)'' http://eaccelerator.net/, [httphttps://sourceforge.net/projects/eaccelerator/files/eaccelerator/ download page on SourceForge]
* ''Official installation help:'' https://eaccelerator.net/wiki/InstallFromSource
 
== ionCube PHP Accelerator ==
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|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,{{Citation needed|date=December 2010}} PHPA showed that PHP can compete with other languages performance-wise.{{Citation needed|date=December 2010}} 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!.{{Citation needed|date=December 2010}} 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.{{Citation needed|date=December 2010}}
 
As for now it is available as try & buy software supporting PHP up to version 7.1.
 
* ''Website:'' http://www.php-accelerator.co.uk / http://www.ioncube.com
 
== Turck MMCache ==
'''[[MMCache|Turck MMCache]]''' is now discontinued.{{citation needed|date=December 2010}} [[eAccelerator]] is a fork of Turck MMCache.
* ''Website:'' httphttps://turck-mmcache.sourceforge.net/index_old.html
 
== XCache ==
'''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.
* ''Website:'' https://web.archive.org/web/20120224193029/http://xcache.lighttpd.net/
* ''PHP version:'' full support for up to PHP 5.6
Line 62 ⟶ 61:
* ''Status:'' Potentially dead (no new releases since Jan 2012 and they are not responding to enquires). The last supported version of PHP was 5.3.
 
== Zend OpcacheOPcache (ex. Zend Optimizer+) ==
'''Zend OpcacheOPcache'''<ref>{{cite web
| title = Zend Optimizer+
| url = http://files.zend.com/help/Zend-Server/zendoptimizerplus.html
Line 69 ⟶ 68:
| publisher = [[Zend Technologies]]}}</ref> is an open source<ref>{{cite web
| title = ZendOptimizerPlus - GitHub
| website = [[GitHub]]
| url = https://github.com/zend-dev/ZendOptimizerPlus/
| accessdate = 2013-02-13}}</ref> component of [[Zend Server]] and Zend Server Community Edition bundled with the PHP language itself.<ref name="zend-opcache" /> Zend OpcacheOPcache 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 OpcacheOPcache 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 [https://github.com/php/php-src/commit/8d35170c5fe9b9c0c864b7a6c4dc6b0149809569 renamed] to Zend OpcacheOPcache mid of March 2013.
 
Starting with PHP 5.5 the Zend OpcacheOPcache is integrated and shipped with PHP.<ref name="zend-opcache">{{cite web
| title = [VOTE] Integrating Zend Optimizer+ into the PHP distribution
| url = http://news.php.net/php.internals/66531
Line 90:
* ''Website:'' http://www.zend.com/products/platform
 
Zend Platform and Zend Core are now in 'end of life' status <ref>{{Cite web|url=http://www.zend.com/en/products/platform/end-of-life|title = Enterprise PHP Solutions &#124; Zend by Perforce}}</ref> and are replaced with Zend Server.<ref>{{cite web|url=http://www.zend.com/products/server |title=Zend Server - PHP Web Application Server |publisher=Zend.com |date= |accessdate=2014-02-14}}</ref>
 
== Windows Cache Extension for PHP ==
Line 176:
| {{Dunno}}
|-
| Zend OpcacheOPcache (ex. Zend Optimizer+)
| Maintained
| {{Yes}}
Line 216:
! colspan="6" | OS
! colspan="3" | Web servers
! colspan="911" | PHP version
|-
! Windows
! GNU/Linux
! FreeBSD
! macOS
! Mac OS&nbsp;X
! NetBSD
! Solaris
Line 236:
! 7.2
! 7.3
! 7.4
! 8.0 to 8.4
 
|-
| APC
Line 251 ⟶ 254:
| {{Yes}}
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 272 ⟶ 277:
| {{Yes}}
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 283 ⟶ 290:
| {{Yes}}
| {{Yes}}
| {{DunnoYes}}
| {{DunnoYes}}
| {{Dunno}}
| {{Yes}}
Line 290 ⟶ 297:
| {{Yes}}
| {{Dunno}}
| {{NoYes}}
| {{NoYes}}
| {{NoYes}}
| {{NoYes}}
| {{NoYes}}
| {{NoYes}}
| {{Yes}}
| {{Yes}}
| {{No}}
| {{No}}
Line 312 ⟶ 321:
| {{Dunno}}
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 337 ⟶ 348:
| {{Yes}}
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 355 ⟶ 368:
| {{Yes}}
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 363 ⟶ 378:
| {{No}}
|-
| Zend OpcacheOPcache (ex. Zend Optimizer+)
| Maintained
| {{Yes}}
Line 371 ⟶ 386:
| {{Dunno}}
| {{No}}
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{Yes}}
Line 396 ⟶ 413:
| {{No}}
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 405 ⟶ 424:
| {{No}}
|-
| Windows Cache <ref>{{cite web|url=https://www.iis.net/downloads/microsoft/wincache-extension |title=WinCache Extension for PHP |date= |accessdate=2025-06-23}}</ref>
| Windows Cache
| Maintained
| {{Yes}}
Line 423 ⟶ 442:
| {{Yes}}
| {{Yes}}
| {{YesNo}}
| {{DunnoNo}}
| {{No}}
| {{No}}
|}
</div>