When i use Yii framework and oracle for my web application, i found this error : CDbConnection failed to open the DB connection: could not find driver. For my problem, the solution is :

  1. I use xampp with PHP version 5.3 (up)
  2. setting php.ini with uncomment this line : 
    • extension=php_pdo_oci.dll
I found the solution from here : 
http://www.yiiframework.com/forum/index.php/topic/7390-mhon-bimbingan-gagal-koneksi-ke-oracle/page__p__37908__hl__failed+to+open+the+DB+connection#entry37908
http://id.php.net/manual/en/ref.pdo-oci.connection.php#70329


This entry was posted on 12/02/2012 07:34:00 PM and is filed under . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

6 komentar:

    Anonymous said...

    ok' thnks..

  1. ... on January 24, 2013 at 6:53 PM  
  2. Anonymous said...

    Do you have an english solution tutorial to this?

  3. ... on November 13, 2013 at 3:21 AM  
  4. arum said...

    No, i don't. Sorry. It's long time ago i use this program.

  5. ... on November 27, 2013 at 6:29 PM  
  6. Anonymous said...

    ass hold these is not a solution puting in other language

  7. ... on March 10, 2014 at 10:34 AM  
  8. Anonymous said...

    Arum could you please put the english version of this .It will be very helpful

  9. ... on April 9, 2014 at 12:15 AM  
  10. arum said...

    In my problem, I just uncomment this line :
    extension=php_pdo_oci.dll (only this line)

    preview in php.ini :
    extension=php_pdo_oci.dll
    ;extension=php_pdo_oci8.dll

    then problem solve. :)
    I am sorry that I cannot provide better source.

  11. ... on April 15, 2014 at 8:13 PM