Partner and Community Forums
Windows Cache Extension for PHP
Last post Nov 10, 2019 07:23 PM by DropPhone
Nov 06, 2019 05:16 PM|Anamera|LINK
Whatever "automated" WebPI process and/or command line utilities never worked out for me. Here is how I was able to get to the MSI file, and get that to install eventually.
1. When downloading and running the correct WincacheWPI-....exe for your PHP version and thread-safety, you'll be prompted for a folder to uncompress the installation files to.
2. Among the installation files look for the Wincache...wpi.msi file.
3. To install the MSI file, I had to use the following command line parameters:
wincache73x64wpi.msi PHPPATH="C:\Program Files\PHP\v7.3\" IACCEPTWINDOWSCACHEFORPHPLICENSETERMS=Yes /quiet
(The above example uses the file name and path for a 64-bit PHP 7.3 NTS environment.)
Nov 08, 2019 11:27 PM|DropPhone|LINK
If you don't have the Web Platform Installer 5.0, you can install it from https://www.microsoft.com/web/downloads/platform.aspx
Once you have WebPI installed, from an elevated (Admin) command window:
webpicmd.exe /install /Products:WinCache73x64
This assumes you have already installed IIS on the box where you're running webpicmd.exe.
The command will install PHP 7.3 if it's not already installed, and then install WinCache for PHP 7.3 x64
Warning! The versions of PHP in the WebPI public feed are pretty old. I just checked, and they're still pointing at 7.3.7. So, if you're installing on a clean box, use webpicmd.exe to get PHP & WinCache on the box, then go to https://windows.php.net/downloads/releases/ to
fetch the newest, safest PHP bits.
Hope this helps!
Nov 08, 2019 11:35 PM|Anamera|LINK
Thanks - yes, I did figure out that the WebPI 5 will bump up the feed by a few years and then WinCache also appears. But, as you said, I really can't afford to let some "automatism" based on outdated builds mess up my carefully calibrated environment.
I wish WinCache.dlls would continue to be offered as plain vanilla DLLs, like all other PHP extensions, instead of sending me on some wild-goose chase.
Nov 10, 2019 07:23 PM|DropPhone|LINK
https://sourceforge.net/projects/wincache/files/development/wincache-184.108.40.206-dev-7.3-nts-vc15-x64.exe/download is about as close
as you can get to "just plain vanilla DLLs" (self-extracting archive, where you copy them into wherever you need them).
Don't let the "development" part fool you...the exact same DLL's that are in the most recent "development" package is what is included in the "official" WebPI Feed Package.