Installing Wincache...wpi.msi RRS feed

  • Question

  • User-1165664085 posted


    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.)


    Wednesday, November 6, 2019 5:16 PM

All replies

  • User409000176 posted

    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!


    Friday, November 8, 2019 11:27 PM
  • User-1165664085 posted

    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.

    Friday, November 8, 2019 11:35 PM
  • User409000176 posted

    https://sourceforge.net/projects/wincache/files/development/wincache- 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.

    Sunday, November 10, 2019 7:23 PM