-
Make sure you have
cygport
,php
,php-devel
andlibiodbc-devel
installed -
cygport php7-sqlsrv.cygport prep
-
cygport php7-sqlsrv.cygport compile
-
cygport php7-sqlsrv.cygport install
-
For i686:
cp -avr sqlsrv-5.3.0-1.i686/inst/* /
For x86_64:cp -avr sqlsrv-5.3.0-1.x86_64/inst/* /
-
Download and install "Microsoft ODBC Driver 17 for SQL Server"
(just the Windows version, no special Linux or Cygwin version needed) -
Copy the contents of
iodbc-example-config/odbcinst.ini
to/etc/odbcinst.ini
-
Make sure you have
cygport
,php
,php-devel
andlibiodbc-devel
installed -
cygport php73-sqlsrv.cygport prep
-
cygport php73-sqlsrv.cygport compile
-
cygport php73-sqlsrv.cygport install
-
For i686:
cp -avr sqlsrv-5.6.1-1.i686/inst/* /
For x86_64:cp -avr sqlsrv-5.6.1-1.x86_64/inst/* /
-
Download and install "Microsoft ODBC Driver 17 for SQL Server"
(just the Windows version, no special Linux or Cygwin version needed) -
Copy the contents of
iodbc-example-config/odbcinst.ini
to/etc/odbcinst.ini