|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #73038 Timeout for oci_execute
Submitted: 2016-09-07 10:53 UTC Modified: 2018-12-08 10:36 UTC
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: lukcuc at yahoo dot com Assigned:
Status: Open Package: OCI8 related
PHP Version: Irrelevant OS:
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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
32 + 17 = ?
Subscribe to this entry?

 [2016-09-07 10:53 UTC] lukcuc at yahoo dot com
Would it be possible to put a timeout on oci_execute.



The statement would then timeout after 5s returning ORA-01013 
or similar and leaving the connection open.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-12-08 10:36 UTC]
Oracle 18c client libraries support a call timeout setting. This would need to be exposed in OCI8.  It has the behaviors noted in
 [2019-01-03 21:21 UTC] camporter1 at gmail dot com
PHP 7.2.14, PHP 7.3.1, and newer PECL OCI8 support timeouts now when using 18c client libraries:
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jan 26 21:01:25 2020 UTC