Connect PHP to SQL Server (Windows & Linux)

preview_player
Показать описание
Hi guys, in this video I'm going to show you how connect PHP to SQL Server from Windows or Linux clients.

Windows

00:00:00 Intro
00:00:12 Windows
00:11:23 Linux

Here there are the 2 PHP Script I used:

Thanks to NCS for Songs! :)
Рекомендации по теме
Комментарии
Автор

Thanks for this it's really working for me.

RaghuvVlogs
Автор

Is possible to connect to from a website hosted that has ODBC unix library to a Windows server database?
I can connect locally with no errors, but online I get this error:
unixODBC][Driver Manager]Can't open lib '4D v15 ODBC Driver 64-bit' : file not found

fagrodemexico
Автор

SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: No connection could be made because the target machine actively refused it. 1 PROBLEM. PLEACE HELP

burabaxtv
Автор

I have error with run phpize, can you help me with this??

josevpc