php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11941 Not checking allow_persistent
Submitted: 2001-07-06 18:02 UTC Modified: 2001-07-13 13:10 UTC
From: sthomas at townnews dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.6 OS: Linux
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sthomas at townnews dot com
New email:
PHP Version: OS:

 

 [2001-07-06 18:02 UTC] sthomas at townnews dot com
Probably just an oversight, here's the patch:

355c355,356
<       if (persistent) {
---
>
>       if (persistent && PGG(allow_persistent)) {

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-13 11:29 UTC] sthomas at townnews dot com
PHP isn't checking Postgres's allow_persistent config
variable.  It's probably an oversight.  Here's the
patch for php4.0.6

372c372
<       if (persistent) {
---
>       if (persistent && PGG(allow_persistent)) {

 [2001-07-13 13:10 UTC] rasmus@php.net
Fixed in CVS, thanks.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 17:01:30 2025 UTC