Hey there. I'm attempting to get WinCache 2.0.0.7 (non-thread-safe, x86) to play nicely with PHP 7.0.12 (non-thread-safe, x86) within an IISExpress environment, and I'm unable to do so.
- I extracted the DLL from the MSI installed by the executable available at the sourceforge repository.
- I've installed the extension into my php's "ext" directory.
- I've only got two configuration settings in my php.ini (after loading the extension):wincache.ucenabled=1, and wincache.ucachesize=128.
- phpinfo() shows that the extension is installed/enabled, and shows the relevant settings correctly.
- wincache_ucache_add('testKey', 'testVal', 600) fails. The function returns false.
- Using the same php.ini configuration file, I am able to successfully get wincache_ucache_add() and wincache_ucache_get() to work when using the command line (with the provided php.exe AND php-cgi.exe). This leads me to believe the issue is with
IISExpress.
- Using the same configuration as I am for IISExpress, I am able to successfully get the above two functions to work when using full-blown IIS. This further leads me to believe the issue is with IISExpress.
Have I missed something in my configuration? Can anyone confirm that Wincache 2.0.0.7 works with PHP v7.0.12 on IIS Express? I'm open to any ideas that might resolve my issue.