mlocati / powershell-phpmanager

A PowerShell module to install/update PHP, PHP extensions and Composer on Windows

Home Page:https://www.powershellgallery.com/packages/PhpManager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support to install from cache without looking up versions on https://windows.php.net/

shivammathur opened this issue · comments

Currently, it looks for PHP versions on http://windows.php.net/download. But if that is down it would fail (right now).

Can it failover to look for versions in the cache if lookup in windows.php.net fails?

Also, if a flag can be added to not lookup on windows.php.net at all and only use the cache to get available PHP versions.

look for versions in the cache

Which cache? A local folder?

Yes, set using Set-PhpDownloadCache.