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.
Thank you!
--E.
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.
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!
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).
<div>Hi,
I have tried to download it via Web Platform Installer.</div> <div>It automatically installs also PHP 7.3.1 even I'm using newer version 7.3.6.</div> <div>Why is PHP
7.3.6 missing in Web Installer?
I assume that WinCache is also compatible with php 7.3.6?
thnx
S</div>
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.
It seems that the latest PHP version of 7.3.8 does NOT work with 2.0.0.8 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 2.0.0.8) does NOT work.
Please correct me if I'm wrong.
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!
I also installed WinCache 2.0.0.8 x64 alpha1 for PHP 7.4 and I can confirm that it is not loaded.
When I check loaded extensions with
php -r "print_r(get_loaded_extensions());"
it tells me:
php.exe - Entry Point Not Found
---------------------------
The procedure entry point php_error_docref0 could not be located in the dynamic link library ***pathtophp74***\ext\php_wincache.dll.
Running Server 2016 IIS 10 and PHP 7.4.1 x64 and when I try and load WinCache (looking in php-cgi.exe) I get the following error:
PHP Warning: PHP Startup: Unable to load dynamic library 'php_wincache.dll' (tried: c:\Program Files\PHP 7.4.1 x64\ext\php_wincache.dll (The specified procedure could not be found.), c:\Program Files\PHP 7.4.1 x64\ext\php_php_wincache.dll.dll (The specified
procedure could not be found.)) in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Unable to load dynamic library 'php_wincache.dll' (tried: c:\Program Files\PHP 7.4.1 x64\ext\php_wincache.dll (The specified procedure could not be found.), c:\Program Files\PHP 7.4.1 x64\ext\php_php_wincache.dll.dll (The specified
procedure could not be found.)) in <b>Unknown</b> on line <b>0</b><br />
I noticed the 2nd message filename doesnt look right, extra php & dll in the name. I tried taking a copy of the php_wincache.dll file and naming it to php_php_wincache.dll.dll and having the 2 files there but that made no difference. I even made sure the
files were present by verifying the paths in PowerShell.
As other users have mentioned WinCache for PHP 7.4.1 does not load. The error in the PHP log file is "The specified procedure could not be found.". Any update on when this will be fixed?
I'm also missing WinCache compatibility with PHP 7.4.1 nts.
The problem could be related to this statement (from windows.php.net):
We used Visual Studio 2019 to build the early releases of PHP 7.4 (up to and including 7.4.0beta2). And although Visual Studio 2019 is generally an improvement over Visual Studio 2017, due to compatibility issues we have decided to switch back to Visual
Studio 2017 for our PHP 7.4 builds, and we are planning to stick with this for the complete lifetime of PHP 7.4.
It could definitely be the root of the problem - it was compiled with another Visual Studio. Could anyone try to just recompile?
Any idea when the Web Platform Installer version will be released for PHP 7.4 x64? In WPI, it is published but the link is wrong, as the file does not exist - https://sourceforge.net/projects/wincache/files/wincache-2.0.0/wincachewpi-2.0.0.8-7.4-nts-vc15-x64.exe/download
360 Posts
Microsoft
Moderator
[Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
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:
x86: https://sourceforge.net/projects/wincache/files/development/wincache-2.0.0.8-dev-7.3-nts-vc15-x86.exe
x64: https://sourceforge.net/projects/wincache/files/development/wincache-2.0.0.8-dev-7.3-nts-vc15-x64.exe
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:
x86: https://sourceforge.net/projects/wincache/files/development/wincache-2.0.0.8-dev-7.4.0alpha1-nts-vs16-x86.exe
x64: https://sourceforge.net/projects/wincache/files/development/wincache-2.0.0.8-dev-7.4.0alpha1-nts-vs16-x64.exe
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.
Thank you!
--E.
Edit: If you downloaded the 7.4apha1 WinCache bits before 2019-06-17 23:00 UTC, and you're getting an error like:
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!
2 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jun 18, 2019 01:10 AM|globules|LINK
Thank you for your work!! Downloading now
3 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jun 18, 2019 07:28 AM|marcin44|LINK
Thank You, I will start test WinCache for PHP 7.3 now
3 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jun 18, 2019 08:08 AM|IMcL|LINK
Great news, thank you
40 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
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!
13 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jun 24, 2019 10:36 PM|Anamera|LINK
Thank you!
I've been using it under light/development load for the past week, without issues.
1 Post
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jun 26, 2019 09:48 AM|iftvio|LINK
Excellent work! I did the WinCache installation and run a couple of tests. No problems found!
3 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jun 28, 2019 01:42 PM|szenko|LINK
Hello,
where should I add this line in php.ini
extension = php_wincache.dll
Last lines in php.ini are
[PHP_MBSTRING]
extension=php_mbstring.dll
[PHP_OPENSSL]
extension=php_openssl.dll
[PHP_SOAP]
extension=php_soap.dll
[PHP_XMLRPC]
extension=php_xmlrpc.dll
I guess "extension = php_wincache.dll" shouldn't belong to "[PHP_XMLRPC]"?
thank you for any suggestion
360 Posts
Microsoft
Moderator
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
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).
Thx!
--E.
360 Posts
Microsoft
Moderator
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
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.
Thx!
--E.
3 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jul 11, 2019 06:05 AM|szenko|LINK
I have tried to download it via Web Platform Installer.</div> <div>It automatically installs also PHP 7.3.1 even I'm using newer version 7.3.6.</div> <div>Why is PHP 7.3.6 missing in Web Installer?
I assume that WinCache is also compatible with php 7.3.6?
thnx
S</div>
360 Posts
Microsoft
Moderator
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jul 11, 2019 10:38 PM|DropPhone|LINK
Yes, it's compiled for all 7.3 versions.
I'm not entirely sure. I'll ask the WebPI feed folks who owns updating the PHP builds.
Thx!
--E.
2 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
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.
13 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
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:
12 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Aug 16, 2019 08:05 PM|ryankekos|LINK
It seems that the latest PHP version of 7.3.8 does NOT work with 2.0.0.8 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 2.0.0.8) does NOT work. Please correct me if I'm wrong.
Using X64 and VC15.
13 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Aug 16, 2019 08:56 PM|Anamera|LINK
I've been running Winache 2.0.0.8 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)
12 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
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!
1 Post
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
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?
1 Post
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
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?
Thank you
2 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Dec 11, 2019 08:29 AM|kondrich|LINK
I also installed WinCache 2.0.0.8 x64 alpha1 for PHP 7.4 and I can confirm that it is not loaded.
When I check loaded extensions with
it tells me:
php.exe - Entry Point Not Found
---------------------------
The procedure entry point php_error_docref0 could not be located in the dynamic link library ***pathtophp74***\ext\php_wincache.dll.
2 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Dec 20, 2019 07:32 PM|Troopster19|LINK
Any update for 7.4 now that it's released? The 7.4.0alpha1 dlls don't load.
1 Post
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jan 01, 2020 11:24 PM|GR303|LINK
Hi there,
https://sourceforge.net/projects/wincache/files/development/wincache-2.0.0.8-dev-7.4.0alpha1-nts-vs16-x64.exe
Running Server 2016 IIS 10 and PHP 7.4.1 x64 and when I try and load WinCache (looking in php-cgi.exe) I get the following error:
PHP Warning: PHP Startup: Unable to load dynamic library 'php_wincache.dll' (tried: c:\Program Files\PHP 7.4.1 x64\ext\php_wincache.dll (The specified procedure could not be found.), c:\Program Files\PHP 7.4.1 x64\ext\php_php_wincache.dll.dll (The specified procedure could not be found.)) in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Unable to load dynamic library 'php_wincache.dll' (tried: c:\Program Files\PHP 7.4.1 x64\ext\php_wincache.dll (The specified procedure could not be found.), c:\Program Files\PHP 7.4.1 x64\ext\php_php_wincache.dll.dll (The specified procedure could not be found.)) in <b>Unknown</b> on line <b>0</b><br />
I noticed the 2nd message filename doesnt look right, extra php & dll in the name. I tried taking a copy of the php_wincache.dll file and naming it to php_php_wincache.dll.dll and having the 2 files there but that made no difference. I even made sure the files were present by verifying the paths in PowerShell.
PS C:\Users\Administrator> Get-Item -Path "c:\Program Files\PHP 7.4.1 x64\ext\php_wincache.dll"
Directory: C:\Program Files\PHP 7.4.1 x64\ext
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 17/06/2019 16:47 138240 php_wincache.dll
PS C:\Users\Administrator> Get-Item -Path "c:\Program Files\PHP 7.4.1 x64\ext\php_php_wincache.dll.dll"
Directory: C:\Program Files\PHP 7.4.1 x64\ext
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 17/06/2019 16:47 138240 php_php_wincache.dll.dll
I tried to register the dll manually
c:\Program Files\PHP 7.4.1 x64\ext>regsvr32 php_wincache.dll
But got the following error:
The module "php_wincache.dll" failed to load.
12 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jan 02, 2020 08:15 AM|ryankekos|LINK
As other users have mentioned WinCache for PHP 7.4.1 does not load. The error in the PHP log file is "The specified procedure could not be found.". Any update on when this will be fixed?
2 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jan 03, 2020 09:40 PM|Troopster19|LINK
Any updates? 7.4.1 is released now and no updates at all.
1 Post
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jan 16, 2020 02:39 PM|VaclavSilber|LINK
I'm also missing WinCache compatibility with PHP 7.4.1 nts.
The problem could be related to this statement (from windows.php.net):
We used Visual Studio 2019 to build the early releases of PHP 7.4 (up to and including 7.4.0beta2). And although Visual Studio 2019 is generally an improvement over Visual Studio 2017, due to compatibility issues we have decided to switch back to Visual Studio 2017 for our PHP 7.4 builds, and we are planning to stick with this for the complete lifetime of PHP 7.4.
It could definitely be the root of the problem - it was compiled with another Visual Studio. Could anyone try to just recompile?
Thank you.
12 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jan 23, 2020 07:40 AM|ryankekos|LINK
WinCache has been updated for PHP 7.4.1. Please download at https://sourceforge.net/projects/wincache/. At this time I'm showing no errors.
2 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jan 23, 2020 01:27 PM|kondrich|LINK
I can confirm that this update is working as expected. WinCache is now correctly loaded.
Thank you for the update!
13 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Feb 05, 2020 10:17 PM|Anamera|LINK
Thanks - confirmed working with PHP 7.4.2.
1 Post
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Apr 24, 2020 02:36 PM|danfratamico|LINK
Any idea when the Web Platform Installer version will be released for PHP 7.4 x64? In WPI, it is published but the link is wrong, as the file does not exist - https://sourceforge.net/projects/wincache/files/wincache-2.0.0/wincachewpi-2.0.0.8-7.4-nts-vc15-x64.exe/download
3 Posts
Re: [Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1
Jul 16, 2020 08:56 PM|bb2j3z|LINK
Getting a crash (access violation) caused by 2.0.0.8 version of php_wincache.dll when running on PHP 7.3.7.
More detail is here in my post.
https://forums.iis.net/p/1250936/2161507.aspx?IIS+10+and+Wordpress+getting+crashes
Let me know if you need any more info.