Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Request #12528 Abstract the SESSION_MODE connect options
Submitted: 2007-11-26 15:28 UTC
From: smithj108 Assigned: quipo
Status: Closed Package: MDB2_Driver_oci8 (version 1.5.0a1)
PHP Version: 5.2.1 OS: Solaris
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

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 !
Your email address:
Solve the problem : 45 - 10 = ?

 [2007-11-26 15:28 UTC] smithj108 (John Smith)
Description: ------------ Session mode is not currently supported by this abstraction driver. The "oci_connect" function is able to accept a 5th argument called $session_mode. Typically when it is required to connect to Oracle with privileged connections (i.e. "connect username as sysdba") one can pass the OCI_SYSDBA constant into the 5th argument of oci_connect(). Looking at the "oci8.php" script, the "oci_connect" functions are only passing a maximum of 4 argument parameters, therefore connecting with SYSDBA privileges are impossible via this DB abstraction driver. Request that support be added to this Oracle driver to allow the use of the 5th oci_connect() parameter.


 [2007-12-16 19:50 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.