Is it possible to install Zend OPcache module for PHP 5.4.29 in Windows Environment? I have downloaded OPCache that was meant to be compatible with PHP 5.4 but
php -v
does not show anything new loaded.
Zend OPcache extension is compatible with 5.3.* 5.4.* and PHP 5.5.*
You should download the source-code of the extension and compile yourself or try to download pre-compiled windows version here and call the extension in your php.ini like this:
zend_extension=/path/to/opcache.dll
Notice :
php_opcache-7.X.X-5.4-XX-XX-XXX.zip
.Update Since opcache is a part of php core for a long time and this question is highly visible on search engines, I wanted to update my answer.
According to documentation, enabling opcache using following lines in php.ini:
zend_extension=php_opcache.dll
opcache.enable=On
opcache.enable_cli=On
then restarting the web server (IIS I guess) should be enough.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With