php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57879 MSSQL Persistent Connections
Submitted: 2007-10-17 11:15 UTC Modified: 2007-10-17 13:28 UTC
From: richardtector at thekeelecentre dot com Assigned:
Status: Not a bug Package: PDO_DBLIB (PECL)
PHP Version: 5.2.1 OS: FreeBSD 6.2
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 !
Your email address:
MUST BE VALID
Solve the problem:
17 + 13 = ?
Subscribe to this entry?

 
 [2007-10-17 11:15 UTC] richardtector at thekeelecentre dot com
Description:
------------
This is just a feature request for persistent connections support for MSSQL.
I realise this is likely already on the todo list, I just wanted to register interest in it. I would be very happy to do any testing required.
Is anybody already working on this?


Patches

pdo_dblib.patch (last revision 2015-05-07 12:36 UTC by amila at cenango dot lk)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-17 13:28 UTC] wez@php.net
PDO manages persistent connections for all drivers.
See http://php.net/pdo for documentation.
 [2009-08-26 16:37 UTC] cr125rider at gmail dot com
Nope, running 

$dbh = new PDO('dblib:host=localhost:1433;dbname=test', $user, $pass, array(
    PDO::ATTR_PERSISTENT => true
));

errors saying the driver doesn't support it.

Warning: PDO::__construct() [pdo.--construct]: SQLSTATE[IM001]: Driver does not support this function: driver does not support setting attributes in [file path].php on line ##
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 15:01:30 2024 UTC