Partner and Community Forums
Windows Cache Extension for PHP
[Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Last post Dec 05, 2019 08:40 AM by Sandmagn
Jun 17, 2019 07:55 PM|DropPhone|LINK
I would greatly appreciate your help in validating a potential release candidate of WinCache for PHP 7.3:
I have simply dealt with the compilation errors introduced by moving to PHP 7.3 / Zend 3.3.0 internals. There have been no functional changes.
I have run the PHP regression test suite with WinCache enabled and disabled, and nothing crashes instantly. If you do find a reproduceable crash, please send me a code example that triggers the crash, so I can investigate.
If no issues are reported with this build, I will proceed with releasing this extension via Web Platform Installer by June 28th, 2019.
Additionally, I have a release candidate of WinCache for PHP 7.4.0alpha1:
Same deal goes for these bits as well. If you find something, let me know.
I will not create a Web Platform Installer package for WinCache for PHP 7.4 until PHP 7.4 completes its Beta cycle and is released.
My apologies for the delay in WinCache for PHP 7.3.
Edit: If you downloaded the 7.4apha1 WinCache bits before 2019-06-17 23:00 UTC, and you're getting an error like:
PHP Warning: PHP Startup: Can't load module 'C:\Program Files\PHP\v7.4\ext\php_wincache.dll' as it's linked with 14.21, but the core is linked with 14.20 in Unknown on line 0
This has been fixed with a new package. The file name and version is the same, so you'll have to re-download & extract.
Thank you to Jan Ehrhardt over at www.apachelounge.com for
pointing this out!
Jun 18, 2019 01:10 AM|globules|LINK
Thank you for your work!! Downloading now
Jun 18, 2019 07:28 AM|marcin44|LINK
Thank You, I will start test WinCache for PHP 7.3 now
Jun 18, 2019 08:08 AM|IMcL|LINK
Great news, thank you
Jun 18, 2019 04:57 PM|reFX Mike|LINK
I've used in (after a short local test on my machine) for 14 hours now on our production server (uses the session-cache and lots of user-cache, plus the usual file-cache and resolve-cache) and zero problems so far. Everything looks healthy etc. Great job!
Jun 24, 2019 10:36 PM|Anamera|LINK
I've been using it under light/development load for the past week, without issues.
Jun 26, 2019 09:48 AM|iftvio|LINK
Excellent work! I did the WinCache installation and run a couple of tests. No problems found!
Jun 28, 2019 01:42 PM|szenko|LINK
where should I add this line in php.ini
extension = php_wincache.dll
Last lines in php.ini are
I guess "extension = php_wincache.dll" shouldn't belong to "[PHP_XMLRPC]"?
thank you for any suggestion
Jun 28, 2019 04:40 PM|DropPhone|LINK
You can put it anywhere. In the default .ini files (the php.ini-production and php.ini-developement), all the extension=* directives are grouped together. Just add it to the end of that list.
As far as I know, the '[<block>]' entries are purely advisory, and don't really affect things. I'm guessing it's probably used by some .ini aware text editors, but most people use (notepad/vi/vim/emacs/text-editor-of-your-choice).
Jul 04, 2019 12:49 AM|DropPhone|LINK
FYI: The public Web Platform Installer feed has been updated, and WinCache for PHP 7.3 is now available via webpicmd.
Jul 11, 2019 06:05 AM|szenko|LINK
Jul 11, 2019 10:38 PM|DropPhone|LINK
I assume that WinCache is also compatible with php 7.3.6?
Yes, it's compiled for all 7.3 versions.
Why is PHP 7.3.6 missing in Web Installer?
I'm not entirely sure. I'll ask the WebPI feed folks who owns updating the PHP builds.
Aug 01, 2019 09:52 PM|Jslater|LINK
The most recent version I see in WPI GUI and with the commandline is from 7/5/2018 for PHP 7.2. As a matter of fact I see nothing related to PHP 7.3 at all for Server 2016 including PHP itself.
Aug 02, 2019 03:58 PM|Anamera|LINK
The "official" WinCache site has yet to be updated:
IIS.net Downloads Link
for people who manage their system without the WebPI.
(PS: I actually had tried to get wepipcmd last month, but never succeeded to download the build that way.)
And as mentioned elsehwere - the entire WebPI seems frozen in time since last year, so that's not really a suitable/reliable distribution option:
Aug 16, 2019 08:05 PM|ryankekos|LINK
It seems that the latest PHP version of 7.3.8 does NOT work with 126.96.36.199 version of WinCache. I've tried many different things and nothing works. 7.2.21 with WinCache for 7.2.X works just fine but PHP 7.3.8 with WinCache 7.3.X (IE 188.8.131.52) does NOT work.
Please correct me if I'm wrong.
Using X64 and VC15.
Aug 16, 2019 08:56 PM|Anamera|LINK
I've been running Winache 184.108.40.206 with 7.3 since that Wincache build came out, and also with 7.3.8 since THAT became available.
My IIS is running PHP VC15 x64 NTS (Non-Thread-Safe)
Aug 17, 2019 01:41 AM|ryankekos|LINK
Actually I got it working. Totally my fault. Turns out I obviously was doing something wrong. Not sure what. I cleared out everything and tried again after Anamera said it worked and got it working. Sorry again for the post and thank you again for keeping
WinCache update to date with the latest versions of PHP!
Nov 29, 2019 10:05 AM|berridgeab|LINK
Thanks for all your efforts with this, any timeline on the PHP 7.4 compatible version now its been released?
Dec 05, 2019 08:40 AM|Sandmagn|LINK
Hi and thank you for your work.
I have installed wincache 7.4 alpha x64 on IIS 10.
The "PHP Administrator" sees it as "Enabled", but when I launch phpinfo() wincache doesn't shows up.
Is there an alternative way to check if it's working?