Top "Opcache" questions

OPcache is a PHP opcode cache introduced in PHP 5.5 (and is also available as a PECL extension for PHP 5.2+). It is based on the Zend Optimizer+

How to use PHP OPCache?

PHP 5.5 has been released and it features a new code caching module called OPCache, but there doesn't appear to be …

php opcache
Disable OPCache temporarily

I recently moved to PHP 5.4 and installed OPCache, it's very powerful! How can I temporarily disable the cache? I tried : …

php opcache
How to determine if PHP OPcache is enabled or not?

I am trying to enable opCache on my server (ubuntu 12.04 LTS, running apache 2.4.7 with PHP Version 5.5.10-1+deb.sury.org~…

php opcache phpinfo
What does a \ (backslash) do in PHP (5.3+)?

What does a \ do in PHP? For example, CSRF4PHP has \FALSE, \session_id, and \Exception: public function __construct($timeout=300, $…

php namespaces opcode opcache
Difference between APC, APCu and Opcache?

I am running a web server with the following packages; php-apc 3.1.7-1 php5-fpm 5.3.10-1ubuntu3.10 However, i have built …

php caching apc opcache
Is there any compatible memory cache for PHP 7?

I would like to use PHP 7. However there seems to be no option for key-value memory caching. APC is discontinued. …

php apc opcache xcache
How to install Zend OPcache Extension + PHP >= 5.4 on Windows

Is it possible to install Zend OPcache module for PHP 5.4.29 in Windows Environment? I have downloaded OPCache that was meant …

php windows opcache
Zend OPCache - opcache.enable_cli 1 or 0? What does it do?

In the documentation it says "mostly used for debugging" which would lead me think "never enable it unless you've a …

php zend-cache opcache php-5.5
Enable opcache for php in wamp

I try to enable opcache on wamp but it doesnt work. I changed the settings like this : [opcache] zend_extension=…

php wamp php-ini opcache
APC -> APCu / OPCache, performance poor

I have an m3.xlarge EC2 instance that I updated to PHP 5.5.11 today. With this update, it overwrote php55-pecl-apc …

php wordpress apc opcache