After configuring OPCache as recomanded, It's not working.
So, How to debug OPCache to see where is the problem?
Or I am missing something?
My config:
php.ini
php -v
And in code
opcache_get_status(); // return false
//but
extension_loaded('Zend OPcache') // return true
I had same problem. I have edited
php.ini
file inC:\wamp\bin\apache\apache2.4.17\bin
location and problem solved. however before I editedphp.ini
inC:\wamp\bin\php\php5.6.15
path. at all you should editphp.ini
file inC:\wamp\bin\apache\apache2.4.17\bin
path. I am enjoying speed of OPCache!It has been quite some time so I imagine you have moved on from this issue but in case you have not. Is noticed you are running Xdebug...
Have you checked your php.ini to make sure that the following is not an issue?
http://php.net/manual/en/opcache.installation.php
The other thing probably worth mentioning is that you do not need to specify the path to the shared library. The following should suffice: