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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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 May 02 21:01:31 2024 UTC