phpiiswindows-server-2012-r2web-platform-installerwincache

Web Platform Installer: Windows Cache Extension 2.0 for PHP 7.4 failed to install


If you try and install PHP 7.4 via Microsoft Web Platform Installer on Windows Server 2012, it installs the core PHP component but fails to install winCache and PHP manager.

I was able to install the PHP manager via a separate MSI. However, i cannot find an MSI for the wincache extension. If one tries to install the component via Web PI, the following error is thrown: enter image description here

And if one tries to download the extension on its own via the official IIS website (https://www.iis.net/downloads/microsoft/wincache-extension) it instead redirects to an unrelated page.

Is it simply not possible to install PHP via Web Platform Installer anymore? The products have been listed since the 31st of January 2020 though the downloads seem to be broken now for months...


Solution

  • If you view the Wep Platform installer log. Then you will see this.

    DownloadManager Warning: 0 : HttpWebRequest failure while trying to retrieve filename from fwlink http://sourceforge.net/projects/wincache/files/wincache-2.0.0/wincachewpi-2.0.0.8-7.4-nts-vc15-x64.exe/download. Error: System.Net.WebException: The remote server returned an error: (404) Not Found.
    

    So that means the source link of Windows Cache Extension 2.0 for PHP 7.4 has been corrupted for a period of time.

    When I access sourceforge.net to download the extension. I also notice that the link has been changed to

    https://sourceforge.net/projects/wincache/files/development/wincache-2.0.0.8-dev-7.4-nts-vc15-x64.exe/download
    

    So you can either download the extension here manually. https://sourceforge.net/projects/wincache/

    or post this issue to their vendor forum to ask PG to fix this.