ID: 46278
Updated by: [EMAIL PROTECTED]
Reported By: Fedora at FamilleCollet dot com
-Status: Assigned
+Status: Bogus
Bug Type: PDO related
Operating System: Linux (Fedora 9)
PHP Version: 5.2CVS-2008-10-12 (snap)
Assigned To: cjorcl
New Comment:
This is a doc/user error unrelated to the fix I mentioned.
With the Instant Client RPMs, use the RPM package version. This number
is used for the path to the files, I.e. use 11.1.0.1:
--with-pdo-oci=shared,instantclient,/usr,11.1.0.1
Previous Comments:
------------------------------------------------------------------------
[2008-10-12 17:55:57] [EMAIL PROTECTED]
Stas merged a fix to 5.3 & 6 for this last week.
------------------------------------------------------------------------
[2008-10-12 11:08:36] [EMAIL PROTECTED]
Chris, please take a look.
------------------------------------------------------------------------
[2008-10-12 10:40:06] Fedora at FamilleCollet dot com
Description:
------------
When trying to build against oracle instantclient 11.1.0.6 with
--with-pdo-oci=shared,instantclient,/usr,11.1.0.6
I got the "Unsupported Oracle version! 11.1" error.
Reading the ext/pdo_oci/config.m4
I see
PDO_OCI_VERSION="`echo $PDO_OCI_IC_VERS | cut -d. -f1-2`"
which give 11.1
And
case $PDO_OCI_VERSION in
9.x|10.x|11.x)
Probaly using
PDO_OCI_VERSION="`echo $PDO_OCI_IC_VERS | cut -d. -f1`".x
Will give better results ;)
Well and phpinfo still display "PDO Driver for OCI 8 and later" (when 8
is no mor supported).
Reproduce code:
---------------
-
Expected result:
----------------
-
Actual result:
--------------
-
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46278&edit=1