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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
17 + 26 = ?
Subscribe to this entry?

 
 [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 16:01:29 2024 UTC