|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12089 mssql_pconnect not persistant
Submitted: 2001-07-12 04:59 UTC Modified: 2001-07-12 10:35 UTC
From: php at rawhide dot cjb dot net Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.6 OS: Win2k Pro SP2
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.
Block user comment
Status: Assign to:
Bug Type:
From: php at rawhide dot cjb dot net
New email:
PHP Version: OS:


 [2001-07-12 04:59 UTC] php at rawhide dot cjb dot net
I use mssql_pconnect in my script once and if I check the sql7 profiler it does this:

Connect | PHP 4.0
ExistingConnection | PHP 4.0
... queries from script
Disconnect | PHP 4.0

Isn't it supposed to keep the connection for other scripts to use? I'm not explicitly closing it. I'm allowing unlim pconns in my ini too.

Win2k Pro SP2 - IIS5 - CGI Interface (ISAPI Interface seems broken for me hence using CGI)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-12 05:30 UTC] php at rawhide dot cjb dot net
As a side note, this existed in 4.0.5 aswell. It is not 4.0.6 specific.
 [2001-07-12 06:17 UTC] php at rawhide dot cjb dot net
In the PHP FAQ it states persistent conns do not function as persistent under CGI conditions. The manual does not reflect this. I'll submit a documentation related bug on this.
 [2001-07-12 10:36 UTC]
Persistant connections can only be used with a server module (ISAPI or APACHE).

When the CGI process terminates all connections are closed.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 12:01:28 2024 UTC