Pecl Install Sqlsrv Returns No Releases Available For Package
While installing sqlsrv module for PHP7 i'm getting following error - No releases available for package 'pecl.php.net/sqlsrv Command used sudo pecl install sqlsrv Any idea ho
Solution 1:
Same problem here... Solved installing modules as root this way (Ubuntu 16.04):
wget http://pecl.php.net/get/sqlsrv-4.3.0.tgz
pear install sqlsrv-4.3.0.tgz
wget http://pecl.php.net/get/pdo_sqlsrv-4.3.0.tgz
pear install pdo_sqlsrv-4.3.0.tgz
You can check latests available versions here: http://pecl.php.net/package-search.php?pkg_name=sqlsrv&bool=AND&submit=Search
And check if php modules are enabled after installation:
php -m | grep sqlsrv
Solution 2:
For corporate proxy users, you might just need to tell pear to use your proxy.
pear config-set http_proxy http://proxy.example.com:8080Solution 3:
Try to install a certain version that you know exists:
$ pecl install sqlsrv-4.3.0Also try to clear the cache:
$ pear clear-cache
Solution 4:
Sometimes pecl.php.net is not available or down. In this case pecl install may show "no releases available".
Just for information.
Post a Comment for "Pecl Install Sqlsrv Returns No Releases Available For Package"