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 sqlsrv-5.9.0preview1 and pdo_sqlsrv-5.9.0preview1

shivammathur opened this issue · comments

These should work

Install-PhpExtension -Version 5.9.0 -Extension sqlsrv -MinimumStability devel -MaximumStability devel -Path C:\tools\php
Install-PhpExtension -Version 5.9.0 -Extension pdo_sqlsrv -MinimumStability devel -MaximumStability devel -Path C:\tools\php

I really don't understand when Windows DLLs are published under the snaps directory or under the releases directory.

I thought that only stable releases were published under the releases directory, but it's not so: for example, the sqlsrv packages with devel stability are sometimes published at https://windows.php.net/downloads/pecl/releases/sqlsrv/ and sometimes at https://windows.php.net/downloads/pecl/snaps/sqlsrv/

Anyway, #72 fixes this issue.

I'm also not sure, but I think if they are testing a pre-release version, they put it in snaps and after testing put it in releases directory as well, so always checking releases is a good idea.

Thanks for the fix.

Fix included in new version 1.24.2