Modified Readme for Mac section
This commit is contained in:
parent
012b16a64f
commit
ffd9dbcc82
|
@ -82,9 +82,9 @@ This software has been compiled and tested under PHP 7.0.8 using the Visual C++
|
|||
3. Restart the Web server.
|
||||
|
||||
## Install (UNIX)
|
||||
Following instructions shows how to install PHP 7.x, Microsoft ODBC driver, apache, and Microsoft PHP drivers on Ubuntu 15, 16, RedHat 7 and Mac OS X. To see how to get PHP SQLSRV drivers running on Debian, please visit [Wiki](https://github.com/Microsoft/msphpsql/wiki/Dockerfile-for-getting-pdo_sqlsrv-for-PHP-7.0-on-Debian-in-3-ways). Note that Debian is not officially supported and this instruction hasn't been tested in our test lab.
|
||||
The following instructions assume a clean environment and show how to install PHP 7.x, Microsoft ODBC driver, apache, and Microsoft PHP drivers on Ubuntu 15, 16, RedHat 7 and Mac OS X. To see how to get PHP SQLSRV drivers running on Debian, please visit [Wiki](https://github.com/Microsoft/msphpsql/wiki/Dockerfile-for-getting-pdo_sqlsrv-for-PHP-7.0-on-Debian-in-3-ways). Note that Debian is not officially supported and this instruction hasn't been tested in our test lab.
|
||||
|
||||
### Step 1: Install PHP7 (unless already installed)
|
||||
### Step 1: Install PHP7 (unless already installed)
|
||||
|
||||
#### PHP 7.0
|
||||
|
||||
|
@ -208,10 +208,8 @@ Following instructions shows how to install PHP 7.x, Microsoft ODBC driver, apac
|
|||
|
||||
brew tap microsoft/mssql-preview https://github.com/Microsoft/homebrew-mssql-preview
|
||||
brew update
|
||||
brew install unixodbc
|
||||
brew install msodbcsql
|
||||
brew install mssql-tools
|
||||
brew install llvm --with-clang --with-clang-extra-tools
|
||||
brew install autoconf
|
||||
|
||||
*Note: You need to make sure you install PHP 7+ before you proceed to step 3. The Microsoft PHP Drivers for SQL Server will only work for PHP 7+.
|
||||
|
@ -222,7 +220,7 @@ Following instructions shows how to install PHP 7.x, Microsoft ODBC driver, apac
|
|||
sudo pecl install sqlsrv
|
||||
sudo pecl install pdo_sqlsrv
|
||||
|
||||
*Note: it installs the stable version, for specific version you should specify the version. For example, do `sudo pecl search sqlsrv` to search for the latest releases and `sudo pecl install sqlsrv-[version]` to install a specific version.
|
||||
*Note: The first step is not required in Mac OS X. PECL installs the stable version when version is not specified. You may run `sudo pecl search sqlsrv` to search for the latest releases and `sudo pecl install sqlsrv-[version]` to install a specific version.
|
||||
Drivers are Mac-compatible starting from `4.1.7preview` release.
|
||||
|
||||
### Step 4: Install and Configure Apache
|
||||
|
|
Loading…
Reference in a new issue