|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56158 PDO OCI - could not find driver
Submitted: 2004-08-06 04:33 UTC Modified: 2013-02-18 00:35 UTC
Avg. Score:4.0 ± 1.0
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (33.3%)
From: marcin at matysiak at raiffeisen dot pl Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 5.0.0b1 (beta1) OS: WINXP
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:
45 - 23 = ?
Subscribe to this entry?

 [2004-08-06 04:33 UTC] marcin at matysiak at raiffeisen dot pl
I hava a simple problem.
If try use PDO for ORACLE - constructor give me an exception.

"could not find driver"

Thanks for help...

Marcin Matysiak 

Apache 2.0
PHP 5.0
    pdo support - enabled
    PDO Driver for OCI 8 and later - enabled
ORACLE 9i client

Reproduce code:
        $dbh = new PDO("OCI:dbname=sid_base", "user", "pwd");
    catch (PDOException $e) 
        echo $e->getMessage();

Actual result:
could not find driver


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-07 10:48 UTC] jan dot reitz at lanxess dot com
try writing the "OCI:" in lowercase, i tried it here and it stopped working when i wrote it in uppercase
 [2011-12-24 06:26 UTC]
Please try using this snapshot:
For Windows:

 [2011-12-24 06:26 UTC]
-Status: Open +Status: Feedback -Package: PDO_OCI +Package: *General Issues
 [2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 20:01:31 2024 UTC