Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:php:opcode_cache [2016/06/17 18:48]
Jackson Zhang [Opcode caching limitations]
litespeed_wiki:php:opcode_cache [2016/06/17 18:58]
Jackson Zhang [Popular Opcode Caches]
Line 16: Line 16:
 ===== Popular Opcode Caches ===== ===== Popular Opcode Caches =====
  
-  * [[http://​xcache.lighttpd.net/​|xCache]] -- Actively maintained and supports all PHP versions. + 
-  * [[http://​pecl.php.net/​package/​ZendOpcache|Zend Opcache]] -- Actively maintained and supports PHP 5.2 and up. Starting from PHP 5.5, it is bundled with PHP main source code. +  * [[http://​pecl.php.net/​package/​ZendOpcache|Zend Opcache]] -- Actively maintained and supports PHP 5.2 and up. Starting from PHP 5.5,including 7.0, it is bundled with PHP main source code. 
-  * [[litespeed_wiki:​php:​apc|APC (Alternative Opcode Cache)]] -- Appears to be discontinued. Supports PHP up to version 5.4, but has been reported buggy with PHP 5.4. May be a good solution for PHP 5.3. APC has opcode cache as well as user/​variable cache. Since PHP 5.5 and PHP 5.6 are unsupported by APC, xCache or Zend Opcache can be alternatives for op-code cache while APCu could be alternative to APC's user cache.  ​+  * [[litespeed_wiki:​php:​apc|APC (Alternative Opcode Cache)]] -- Appears to be discontinued. Supports PHP up to version 5.4, but has been reported buggy with PHP 5.4. May be a good solution for PHP 5.3. APC has opcode cache as well as user/​variable cache. Since PHP 5.5 and PHP 5.6 are unsupported by APC, xCache or Zend Opcache can be alternatives for op-code cache while APCu could be alternative to APC's user cache
 +  * [[http://​xcache.lighttpd.net/​|xCache]] -- Actively maintained and supports most PHP versions upto 5.6 but not 7.0.  ​
   * [[http://​eaccelerator.net/​|eAccelerator]] -- Dead project. Supported PHP 5.4 and earlier.   * [[http://​eaccelerator.net/​|eAccelerator]] -- Dead project. Supported PHP 5.4 and earlier.
 +
 +How to enable opcode caches? Please check [[litespeed_wiki:​php:​enable_opcode_cache|here]].
  • Admin
  • Last modified: 2018/09/14 15:56
  • by Michael Alegre