Install build tools:
brew install autoconf automake libtool
Then install PECL:
https://jasonmccreary.me/articles/install-pear-pecl-mac-os-x//
curl -O http://pear.php.net/go-pear.phar
sudo php -d detect_unicode=0 go-pear.phar
Install sqlsrv driver
sudo pecl install sqlsrv
sudo pecl install pdo_sqlsrv
If you get make Failed
error, install unixodbc
first.
brew install unixodbc
References
Thank you.
You are missing the S at the end of http in the URL, throws a 301 redirect.