List of PHP accelerators: Difference between revisions

Content deleted Content added
m General fixes and manual cleanup, typo(s) fixed: , → , (2)
m clean up punctuation and spacing issues, primarily spacing around commas, replaced: ,A → , A
 
(27 intermediate revisions by 20 users not shown)
Line 1:
{{Short description|none}}
{{Update|date=December 2014}}
 
This is a '''list of [[PHP accelerator]]s'''.
 
== Alternative PHP Cache (APC) ==
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
* ''Latest stable version:'' 3.2.0 (Released on 2014-9-18)
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 103:
 
== Comparison of features ==
<div style="overflow:auto">
 
{| class="wikitable sortable"
|-
Line 176:
| {{Dunno}}
|-
| Zend OpcacheOPcache (ex. Zend Optimizer+)
| Maintained
| {{Yes}}
Line 206:
| {{Dunno}}
|}
</div>
 
== Compatibility chart ==
<div style="overflow:auto">
 
{| class="wikitable sortable" style="text-align:center"
|-
Line 214 ⟶ 215:
! rowspan="2" | Availability
! colspan="6" | OS
! colspan="63" | Web servers
! colspan="811" | PHP version
|-
! Windows
! GNU/Linux
! FreeBSD
! macOS
! Mac OS&nbsp;X
! NetBSD
! Solaris
! IIS 6.0
! IIS 7.0
! IIS 7.5
! IIS 8.0
! Apache
! Nginx
Line 237 ⟶ 235:
! 7.1
! 7.2
! IIS 7.03
! IIS 7.54
! 8.0 to 8.4
 
|-
| APC
Line 246 ⟶ 248:
| {{Dunno}}
| {{Yes}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Yes}}
Line 255 ⟶ 254:
| {{Yes}}
| {{Yes}}
| {{DunnoNo}}
| {{DunnoNo}}
| {{DunnoNo}}
| {{No}}
| {{No}}
Line 269 ⟶ 271:
| {{Dunno}}
| {{Yes}}
| {{DunnoYes}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Yes}}
| {{Yes}}
Line 278 ⟶ 277:
| {{Yes}}
| {{Yes}}
| {{DunnoNo}}
| {{DunnoNo}}
| {{DunnoNo}}
| {{No}}
| {{No}}
Line 286 ⟶ 288:
| ionCube
| Discontinued
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{Dunno}}
| {{DunnoYes}}
| {{Dunno}}
| {{Yes}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Yes}}
| {{DunnoYes}}
| {{NoYes}}
| {{NoYes}}
| {{NoYes}}
| {{NoYes}}
| {{NoYes}}
| {{Yes}}
| {{No}}
| {{No}}
Line 309 ⟶ 311:
| Turck MMCache
| Discontinued
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
Line 322 ⟶ 321:
| {{Dunno}}
| {{Yes}}
| {{YesNo}}
| {{YesNo}}
| {{DunnoNo}}
| {{No}}
| {{No}}
Line 336 ⟶ 338:
| {{Yes}}
| {{Yes}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
Line 349 ⟶ 348:
| {{Yes}}
| {{Yes}}
| {{DunnoNo}}
| {{DunnoNo}}
| {{DunnoNo}}
| {{No}}
| {{No}}
Line 361 ⟶ 363:
| {{Yes}}
| {{Yes}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
| {{Dunno}}
Line 369 ⟶ 368:
| {{Yes}}
| {{Yes}}
| {{DunnoNo}}
| {{DunnoNo}}
| {{DunnoNo}}
| {{No}}
| {{No}}
Line 376 ⟶ 378:
| {{No}}
|-
| Zend OpcacheOPcache (ex. Zend Optimizer+)
| Maintained
| {{Yes}}
Line 408 ⟶ 410:
| {{Yes}}
| {{No}}
| {{DunnoYes}}
| {{No}}
| {{DunnoYes}}
| {{No}}
| {{No}}
| {{Yes}}
| {{No}}
| {{Yes}}
| {{No}}
| {{No}}
Line 422 ⟶ 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 430 ⟶ 432:
| {{No}}
| {{No}}
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{Dunno}}
Line 443 ⟶ 442:
| {{Yes}}
| {{Yes}}
| {{YesNo}}
| {{DunnoNo}}
| {{DunnoNo}}
| {{DunnoNo}}
|}
</div>
 
== Other products ==