ferventcoder/chocolatey-packages — pull request #24 by Nilzor (2014-10-08 06:38:48+00:00)
Title: Php checkoldversion

Solving issue with PHP archiving old ZIP files each time a new version is released. This change now falls back to the archive-URL if the main URL returns 404 by doing a HTTP HEAD request to the main URL.

Issue pointed out by several users, latest carcus88 on mail the 8th oct 2014:

>I noticed by looking at the package sources that they all point to http://windows.php.net/downloads/releases/ but once a new release comes out they move to http://windows.php.net/downloads/releases/archives. This makes using choco to pin a build to a specific version becomes problematic because the build will fail once a new PHP is released unless each time you also update the previous choco package. I'm not sure if you're aware of this or of any other possible solution. As far as I can tell the php.net site does not provide gurateeed permanate links which sucks.