Content deleted Content added
m clean up punctuation and spacing issues, primarily spacing around commas, replaced: ,A → , A |
|||
(45 intermediate revisions by 27 users not shown) | |||
Line 1:
{{Short description|none}}
{{Update|date=December 2014}}
This is a
== Alternative PHP Cache (APC) ==
'''Alternative PHP Cache''' is a [[
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] 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] 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
* ''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
* [https://github.com/eaccelerator/eaccelerator Github repository]
* ''Download link: (look for latest versions)'' http://eaccelerator.net/, [
* ''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}}
* ''Website:'' http://www.php-accelerator.co.uk / http://www.ioncube.com
== Turck MMCache ==
'''
* ''Website:''
== 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
* ''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)
* ''Status:'' Dormant, potentially dead (No release since 2014
* ''Download link:'' http://xcache.lighttpd.net/wiki/ReleaseArchive
* ''Official installation help:'' http://xcache.lighttpd.net/wiki/InstallFromSource
Line 58 ⟶ 57:
* ''Official installation help:'' http://www.nusphere.com/kb/phpexpressmanual/part1.htm#2
* ''Website:'' http://www.nusphere.com/products/phpexpress.htm
* ''PHP version:'' PHP 4.3 to 5.3
* ''Latest stable version:'' 3.1
* ''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
'''Zend
| title = Zend Optimizer+
| url = http://files.zend.com/help/Zend-Server/zendoptimizerplus.html
Line 67 ⟶ 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
Zend Optimizer+ was [https://github.com/php/php-src/commit/8d35170c5fe9b9c0c864b7a6c4dc6b0149809569 renamed] to Zend
Starting with PHP 5.5 the Zend
| title = [VOTE] Integrating Zend Optimizer+ into the PHP distribution
| url = http://news.php.net/php.internals/66531
Line 81 ⟶ 83:
* ''Sources:'' https://github.com/zend-dev/ZendOptimizerPlus/
* ''PHP version:'' full support for PHP 5.2+
* ''Latest stable version:'' 7.
* ''Status:'' Actively maintained
Line 88 ⟶ 90:
* ''Website:'' http://www.zend.com/products/platform
Zend Platform and Zend Core are now in 'end of life' status
== Windows Cache Extension for PHP ==
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.
* ''Website:'' http://www.iis.net/expand/WinCacheForPHP
* ''PHP version:'' works with PHP 5.2 (VC6 NTS), 5.3 (VC9 NTS), 5.4 (VC9 NTS)
* ''Latest stable version:'' 2.0.0.8 (2016-11-09)
* ''Status:'' released, actively developed.
* ''Download link (source):'' http://pecl.php.net/package/WinCache
* ''Download link (binary):'' http://www.iis.net/expand/WinCacheForPhp
* ''Help and API
== Comparison of features ==
<div style="overflow:auto">
{| class="wikitable sortable"
|-
Line 157 ⟶ 159:
| Discontinued
| {{Yes}}
| {{
| {{Dunno}}
| {{Yes}}
| {{No}}<ref>{{cite web|url=http://xcache.lighttpd.net/wiki/Faq |title=Faq – XCache |date= |accessdate=2017-12-01}}</ref>
| {{Yes}}
| {{Dunno}}
|-
| Nusphere PhpExpress
| Discontinued
| {{Yes}}
| {{Dunno}}
Line 174 ⟶ 176:
| {{Dunno}}
|-
| Zend
| Maintained
| {{Yes}}
| {{Yes}}
| {{Dunno}}
| {{No}}
Line 185 ⟶ 187:
|-
| Zend Platform
| Discontinued
| {{Dunno}}
| {{Dunno}}
Line 204 ⟶ 206:
| {{Dunno}}
|}
</div>
== Compatibility chart ==
<div style="overflow:auto">
{| class="wikitable sortable" style="text-align:center"
|-
Line 212 ⟶ 215:
! rowspan="2" | Availability
! colspan="6" | OS
! colspan="
! colspan="
|-
! Windows
!
! FreeBSD
! macOS
! NetBSD
! Solaris
! IIS
!
! Nginx
! 5.2
Line 236 ⟶ 234:
! 7.0
! 7.1
! 7.2
! 7.3
! 7.4
! 8.0 to 8.4
|-
| APC
Line 245 ⟶ 248:
| {{Dunno}}
| {{Yes}}
| {{Dunno}}
| {{Yes}}
Line 255 ⟶ 254:
| {{Yes}}
| {{Yes}}
| {{
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 269 ⟶ 271:
| {{Dunno}}
| {{Yes}}
| {{
| {{
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 287 ⟶ 288:
| ionCube
| Discontinued
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{Dunno}}
| {{Yes}}
| {{Dunno}}
| {{Yes}}
| {{Dunno}}
| {{Yes}}
| {{Yes}}
| {{
| {{
| {{
| {{
| {{
| {{
| {{No}}
| {{No}}
Line 311:
| Turck MMCache
| Discontinued
| {{Dunno}}
| {{Dunno}}
Line 326 ⟶ 321:
| {{Dunno}}
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 339 ⟶ 338:
| {{Yes}}
| {{Yes}}
| {{Dunno}}
| {{Dunno}}
Line 353 ⟶ 348:
| {{Yes}}
| {{Yes}}
| {{
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 365 ⟶ 363:
| {{Yes}}
| {{Yes}}
| {{Dunno}}
| {{Dunno}}
Line 375 ⟶ 368:
| {{Yes}}
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 381 ⟶ 378:
| {{No}}
|-
| Zend
| Maintained
| {{Yes}}
Line 389 ⟶ 386:
| {{Dunno}}
| {{No}}
| {{
| {{
| {{
| {{
| {{Yes}}
| {{Yes}}
Line 405 ⟶ 401:
| {{Yes}}
|-
| Zend Platform <ref>{{cite web|url=https://www.zend.com/topics/Zend-Platform-3-6-3-Release-Notes.txt |title=Zend Platform 3.6.3 Release Notes |date= |accessdate=2017-01-19}}</ref>
| Discontinued
| {{
| {{
| {{
| {{
| {{
| {{Yes}}
| {{No}}
| {{Yes}}
| {{No}}
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{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>
| Maintained
| {{Yes}}
Line 438 ⟶ 433:
| {{No}}
| {{Yes}}
| {{Dunno}}
| {{Dunno}}
Line 451 ⟶ 441:
| {{Yes}}
| {{Yes}}
| {{
| {{No}}
| {{No}}
| {{No}}
| {{No}}
|}
</div>
== Other products ==
Line 461 ⟶ 456:
== See also ==
{{Portal|Computer programming}}
* [[HipHop for PHP]]
* [[HHVM]] (HipHop Virtual Machine)
== References ==
|