|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #75966 Incorrect documentation - says pdo_sqlsrv works on Windows only
Submitted: 2018-02-15 19:39 UTC Modified: 2018-02-16 15:41 UTC
Avg. Score:3.5 ± 1.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: php at zootal dot com Assigned:
Status: Verified Package: pdo_sqlsrv (PECL)
PHP Version: 7.2.2 OS: Linux - Slackware 14.2
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-02-15 19:39 UTC] php at zootal dot com
The installation instructions say pdo_sqlsrv only works with Windows. This is not correct. I use it with Linux, have for a while now, and it works great. The documentation might also mention that you can use Unixodbc instead of the Microsoft odbc driver.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-15 22:20 UTC]
-Status: Open +Status: Verified -Package: MSSQL related +Package: pdo_sqlsrv
 [2018-02-15 22:20 UTC]
Not correct *anymore*. Apparently with PHP 7 there's now support for assorted 'nixes since v4.1.6 and Mac since v4.1.7.

And I suggest the docs now link to the Github repo (and blog?) instead of to
 [2018-02-15 23:12 UTC] php at zootal dot com
I thought for sure this also worked with PHP 5.6.x, but don't remember as we switched over from the mssql/freetds route to pdo_sqlsrv at about the same time we moved up to PHP 7.x. I'll try it out tomorrow and report back, I might be wrong...
 [2018-02-16 15:41 UTC] php at zootal dot com
I stand corrected. Apparently it will not compile with PHP 5.6.33, but compiles just fine with 7.2.2 and 7.2.0. Didn't bother trying with the older 7.x releases.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Jan 29 19:03:57 2023 UTC