WINCACHE 1.0 RC - Breaking Change

This breaking change has got an interesting story. While we were developing this WINCACHE module and I got the initial build to test I realized that the only way to test it using CGI version of PHP. Well I being a developer myself checked out the sources and commented out the code to make it run for CLI version of PHP too. Life was good for me and I found some bugs. Eventually I did move to CGI but I wanted the support for CLI too. I asked my developer to enable it for CLI too. The developer obliged to this and I was so happy getting this on regular builds.

So we released WINCACHE Beta with support for CLI enabled by default. Well there was one user on the forum who reported huge memory usage using WINCACHE. Now I can understand the shared memory we create but his was higher than that. After some conversation we found that he has been running too many PHP scripts in the background. So I understood that each of his script is creating a shared memory leading to this high memory usage for WINCACHE.

So here is the breaking change. We have disabled WINCACHE for CLI by default. However it is useful having support for this as this helps not only me but also you to troubleshoot. So now with the RC release of WINCACHE, this is not enabled by default. However if you want to enable it you just need to use the directive wincache.enablecli=1 in your PHP.INI file and you are done. The default value for this is '0'. So if you are seeing this abnormality just use this PHP directive and everything will be normal.

The WINCACHE RC release can be downloaded from here.

It's so good to learn from you people. So keep sending your request and I will look at them. And thanks for reading this patiently and till my next post good bye.

Regards,

Don.

1 Comment

  • Can you post details of the problem at http://forums.iis.net/1164.aspx. We would like to work with you fix the problem. Please let us know OS/IIS version you are using along with PHP version. And exact error you are getting.

    Thanks,
    Don.

Comments have been disabled for this content.