php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56879 oracale connexion
Submitted: 2006-03-06 11:10 UTC Modified: 2013-02-18 00:35 UTC
From: abdelmonir_bouazzaoui at carrefour dot com Assigned:
Status: No Feedback Package: PDO_OCI (PECL)
PHP Version: 5.1.1 OS: windowns
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-03-06 11:10 UTC] abdelmonir_bouazzaoui at carrefour dot com
Description:
------------
helleo, i have a coonexion probleme with my framework ( wamp5 "it use php5")

i can in phpinfo()
Configuration Serveur
Version de Apache:Apache/2.0.55 (Win32)  Version de PHP:5.1.2 Extensions charg?es: 
bcmath, calendar, com_dotnet, ctype, date, ftp, iconv, odbc, pcre, Reflection, session, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, apache2handler, mbstring, bz2, cpdf, curl, dba, dbase, dbx, exif, fdf, filepro, gd, gettext, iisfunc, imap, interbase, ldap, mcrypt, mhash, mime_magic, ming, mssql, msql, mysql, mysqli, oci8, openssl, oracle, pdf, pgsql, shmop, snmp, sockets, tidy, xmlrpc, xsl, zip, PDO, pdo_sqlite, PDO_Firebird, pdo_mssql, pdo_mysql, PDO_ODBC, pdo_pgsql, SQLite  Version de MySQL:5.0.18-nt



If somebody can help me?



Reproduce code:
---------------
I have this script in index.php


<?php
    try {
        $dbh = new PDO("OCI:dbname=xxxx;charset=UNICODE", "xxxx", "xxxxx");
    } 
	
	catch (PDOException $e) {
        echo "Failed to obtain database handle " . $e->getMessage();
        exit;
    }
    // do something with the database here
    // ...
    
    // now we are done, release the connection
    $dbh = null;
?>


Expected result:
----------------
but I have yhis error i would like why?

Failed to obtain database handle could not find driver


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-09 01:36 UTC] wez@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PECL.


Please provide the exact error message (copy and paste).
 [2013-02-18 00:35 UTC] pecl-dev 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-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 19:03:38 2021 UTC