Content deleted Content added
add php 7.2 |
m clean up punctuation and spacing issues, primarily spacing around commas, replaced: ,A → , A |
||
(33 intermediate revisions by 22 users not shown) | |||
Line 1:
{{Short description|none}}
{{
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)
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
'''Zend
| 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
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 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 162:
| {{Dunno}}
| {{Yes}}
| {{No}}<ref>{{cite web|url=http://xcache.lighttpd.net/wiki/Faq |title=Faq – XCache |date= |accessdate=2017-12-01}}</ref>
| {{Yes}}▼
| {{Yes}}
| {{Dunno}}
Line 176:
| {{Dunno}}
|-
| Zend
| 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="
! colspan="
|-
! Windows
!
! FreeBSD
! macOS
! NetBSD
! Solaris
! IIS
!
! IIS 7.5▼
! Nginx
! 5.2
Line 239 ⟶ 235:
! 7.1
! 7.2
! 7.4
! 8.0 to 8.4
|-
| APC
Line 249:
| {{Yes}}
| {{Dunno}}
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}▼
| {{Yes}}▼
| {{Yes}}
| {{Yes}}
Line 259 ⟶ 254:
| {{Yes}}
| {{Yes}}
| {{No}}
| {{No}}
Line 273 ⟶ 271:
| {{Dunno}}
| {{Yes}}
| {{
| {{
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}▼
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{No}}
| {{No}}
Line 294 ⟶ 290:
| {{Yes}}
| {{Yes}}
| {{
| {{
| {{Dunno}}
| {{Yes}}
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}
| {{Yes}}
| {{Dunno}}
| {{
| {{
| {{
| {{
| {{
| {{
▲| {{Yes}}
▲| {{Yes}}
| {{No}}
| {{No}}
Line 317 ⟶ 311:
| Turck MMCache
| Discontinued
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}▼
| {{Dunno}}
| {{Dunno}}
Line 332 ⟶ 321:
| {{Dunno}}
| {{Yes}}
| {{No}}
| {{No}}
Line 346 ⟶ 338:
| {{Yes}}
| {{Yes}}
| {{Dunno}}▼
| {{Dunno}}
| {{Dunno}}
Line 360 ⟶ 348:
| {{Yes}}
| {{Yes}}
| {{
| {{No}}
| {{No}}
Line 373 ⟶ 363:
| {{Yes}}
| {{Yes}}
| {{Dunno}}
| {{Dunno}}
Line 383 ⟶ 368:
| {{Yes}}
| {{Yes}}
| {{No}}
| {{No}}
Line 390 ⟶ 378:
| {{No}}
|-
| Zend
| Maintained
| {{Yes}}
Line 401 ⟶ 389:
| {{Yes}}
| {{Yes}}
| {{Yes}}
| {{Yes}}
Line 424 ⟶ 410:
| {{Yes}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
| {{No}}
Line 440 ⟶ 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>
| Maintained
| {{Yes}}
Line 449 ⟶ 433:
| {{No}}
| {{Yes}}
| {{Dunno}}
| {{Dunno}}
Line 463 ⟶ 442:
| {{Yes}}
| {{Yes}}
| {{
|}
</div>
== Other products ==
Line 473 ⟶ 456:
== See also ==
{{Portal|Computer programming}}
* [[HipHop for PHP]]
▲* [[HipHop Virtual Machine]] (HHVM)
== References ==
|