Bundle with Microsoft® ODBC Driver 11 for SQL Server® - Windows
Without this component on Windows servers, it is impossible to connect to a MSSQL database from PHP. The Plesk Installer should allow the installation of such component, or even install it automatically when MS SQL Server Express is installed.
https://www.microsoft.com/it-it/download/details.aspx?id=36434
Thank you for your input!
Unfortunately, we have to close your request, because over the years it has not become quite popular for further implementation.
—
IG
-
Pavel Vasilevich commented
If your PHP code is working on Linux server and MSSQL is installed on Windows server, then you need to install ODBC drivers on Linux server. So installation of ODBC drivers on Windows server cannot help you. Moreover, new ODBC drivers should be installed with MSSQL server already.
-
Marco Marsala commented
Yes, when connecting from a Linux machine.
-
Pavel Vasilevich commented
Plesk ships PHP 7.0 with enabled SQLSRV extension - http://php.net/manual/en/book.sqlsrv.php
You can use it in your PHP application to connect to SQL Server.Is there any specific scenario why you need to use ODBC connection exactly?