php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69052 both mssql.compatability_mode and mssql.compatibility_mode exist
Submitted: 2015-02-13 22:57 UTC Modified: 2015-02-13 23:39 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: dustin dot glidden at gmail dot com Assigned:
Status: Wont fix Package: MSSQL related
PHP Version: 5.6.5 OS: linux/debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dustin dot glidden at gmail dot com
New email:
PHP Version: OS:

 

 [2015-02-13 22:57 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-13 23:39 UTC] requinix@php.net
-Status: Open +Status: Wont fix
 [2015-02-13 23:39 UTC] requinix@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 14:01:31 2024 UTC