Req #60124 [Opn->Wfx]: Allow for Custom Application name in MSSQL connection

From: Date: Sat, 15 Oct 2016 23:16:43 +0000
Subject: Req #60124 [Opn->Wfx]: Allow for Custom Application name in MSSQL connection
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204810@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60124&edit=1

 ID:                 60124
 Updated by:         kalle@php.net
 Reported by:        bsdports at wayfair dot com
 Summary:            Allow for Custom Application name in MSSQL
                     connection
-Status:             Open
+Status:             Wont fix
 Type:               Feature/Change Request
 Package:            MSSQL related
 Operating System:   FreeBSD (should work on any)
 PHP Version:        5.3.8
 Block user comment: N
 Private report:     N

 New Comment:

With MSSQL being removed from PHP as of PHP7.0, and ext/mssql not having a maintainer, I'm
gonna close this report as a Won't fix, until maybe one day it will find a new maintainer.

Alternatively you can use sqlsrv from Microsoft if you are on Windows, or pdo_dblib if you are on
Unix.


Previous Comments:
------------------------------------------------------------------------
[2011-10-24 16:19:48] bsdports at wayfair dot com

Description:
------------
MSSQL (and FreeTDS) has the notion of Application Name on for the connection.
In the php5 mssql module it hard codes that to 'PHP 5'. Ideally this would be a user
configurable setting. When multiple PHP applications are connecting to the same MSSQL database it
makes it much easier to distinguish between connections by this Application Name.

Expected result:
----------------
By Applying this patch it allows the user to set an application for the connection and it is visible
in the MSSQL profiler and other tools.

//Example Use:
$dbhandle = mssql_pconnect($server_name, $user, $password, $new_link, "My PHP App");




------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=60124&edit=1


Thread (2 messages)

« previous php.bugs (#204810) next »