Drop support for pdo_dblib on Windows?

From: Date: Mon, 05 Aug 2024 16:45:14 +0000
Subject: Drop support for pdo_dblib on Windows?
Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi all,

a week ago I've opened a respective ticket on the php-src bugtracker[1]
to ask what is going on with pdo_dblib on Windows.  Apparently the
extension is no longer shipped with the official Windows builds for many
years (roughly dropped as of PHP 5.3 or 5.4), and I consider it unlikely
that anybody still builds this extension on Windows for new PHP versions.

From the PHP manual[2]:

| If it is not possible to use SqlSrv, you can use the PDO_ODBC driver
| to connect to Microsoft SQL Server and Sybase databases, as the native
| Windows DB-LIB is ancient, thread un-safe and no longer supported by
| Microsoft.

So unless there are objections, I suggest to remove the Windows specific
bits of this extension from php-src (i.e. config.w32, and a couple of
Windows specific lines in the C code).  If this requires an RFC, I'm
willing to pursue the process.

Thoughts?

[1] <https://github.com/php/php-src/issues/15176>
[2] <https://www.php.net/pdo_dblib>

Christoph


Thread (1 message)

  • Christoph M. Becker
« previous php.internals (#124777) next »