Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
McBane87 authored May 6, 2019
1 parent 5d893b4 commit 3a6be86
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# php-sqlsrv-cygport

### Howto Build/Install
### Howto Build/Install (SQLSRV 5.3.0 & PHP 7)
1. Make sure you have `cygport`, `php`, `php-devel` and `libiodbc-devel` installed
2. `cygport php7-sqlsrv.cygport prep`
3. `cygport php7-sqlsrv.cygport compile`
Expand All @@ -13,3 +13,18 @@
(just the Windows version, no special Linux or Cygwin version needed)

7. Copy the contents of `iodbc-example-config/odbcinst.ini` to `/etc/odbcinst.ini`


### Howto Build/Install (SQLSRV 5.6.1 & PHP 7.3)
1. Make sure you have `cygport`, `php`, `php-devel` and `libiodbc-devel` installed
2. `cygport php73-sqlsrv.cygport prep`
3. `cygport php73-sqlsrv.cygport compile`
4. `cygport php73-sqlsrv.cygport install`
5.
For i686: `cp -avr sqlsrv-5.6.1-1.i686/inst/* /`
For x86_64: `cp -avr sqlsrv-5.6.1-1.x86_64/inst/* /`

6. Download and install "Microsoft ODBC Driver 17 for SQL Server"
(just the Windows version, no special Linux or Cygwin version needed)

7. Copy the contents of `iodbc-example-config/odbcinst.ini` to `/etc/odbcinst.ini`

0 comments on commit 3a6be86

Please sign in to comment.