Bug #69052 [Opn->Wfx]: both mssql.compatability_mode and mssql.compatibility_mode exist
| From: | requinix@php.net | Date: | Fri, 13 Feb 2015 23:39:40 +0000 |
| Subject: | Bug #69052 [Opn->Wfx]: both mssql.compatability_mode and mssql.compatibility_mode exist | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-190672@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69052&edit=1
ID: 69052
Updated by: requinix@php.net
Reported by: dustin dot glidden at gmail dot com
Summary: both mssql.compatability_mode and
mssql.compatibility_mode exist
-Status: Open
+Status: Wont fix
Type: Bug
Package: MSSQL related
Operating System: linux/debian
PHP Version: 5.6.5
Block user comment: N
Private report: N
New Comment:
Couple reasons why I don't think this will be fixed:
1. https://github.com/php/php-src/blob/PHP-5.6.5/ext/mssql/php_mssql.c#L246
It was intentionally kept around (re-added, even) for compatibility. Like "referer" in
HTTP, it was a typo made in the past that isn't too burdening to keep around. Both do
correspond to the same underlying value.
2. mssql is being moved out of the core. It may reappear in PECL but in discussions about that no
one so far has offered to do so and maintain it. Note that mssql on Windows has been superseded by
sqlsrv while on Linux you can use ODBC.
Previous Comments:
------------------------------------------------------------------------
[2015-02-13 22:57:59] dustin dot glidden at gmail dot com
Description:
------------
I did find bug 53941 but that just referenced the directive in php.ini, these appear to actually
exist in the driver.
phpinfo() output
mssql.compatability_mode Off Off
mssql.compatibility_mode Off Off
---
From manual page: http://www.php.net/mssql.configuration
---
Expected result:
----------------
just:
mssql.compatibility_mode Off Off
Actual result:
--------------
phpinfo() output
mssql.compatability_mode Off Off
mssql.compatibility_mode Off Off
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69052&edit=1