php.net |  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
Votes:4
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: marcin at matysiak at raiffeisen dot pl
New email:
PHP Version: OS:

 

 [2004-08-06 04:33 UTC] marcin at matysiak at raiffeisen dot pl
Description:
------------
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 

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

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


Actual result:
--------------
could not find driver

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] ssufficool@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2011-12-24 06:26 UTC] ssufficool@php.net
-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: Thu Apr 25 05:01:33 2024 UTC