|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-03-06 20:12 UTC] zhang_yinshu at yahoo dot com
Description: ------------ oci8.persistent_timeout not functioning does not close connection after specified period expired. even with oci8.ping_interval disabled PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 02:00:02 2025 UTC |
a test script of course, use class: <? include ('db.class.php'); $db=new db('xxxxx','xxxx','xxxxxx'); $db->query("select * from tab"); echo $db->to_string(); ?> part of db.class.php: function db_open($user,$pass,$db) { if (!$this -> _connection = oci_pconnect($user,$pass,$db)) { err ("Can not open database connection user:$user,db:$db, error:".print_r(ocierror())); $this->__destruct(); } }