#46278 [Asn]: Unsupported Oracle version! 11.1
| From: | sixd@php.net | Date: | Sun, 12 Oct 2008 17:55:57 +0000 |
| Subject: | #46278 [Asn]: Unsupported Oracle version! 11.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-129657@lists.php.net to get a copy of this message | ||
ID: 46278
Updated by: sixd@php.net
Reported By: Fedora at FamilleCollet dot com
Status: Assigned
-Bug Type: OCI8 related
+Bug Type: PDO related
Operating System: Linux (Fedora 9)
PHP Version: 5.2CVS-2008-10-12 (snap)
Assigned To: cjorcl
New Comment:
Stas merged a fix to 5.3 & 6 for this last week.
Previous Comments:
------------------------------------------------------------------------
[2008-10-12 11:08:36] johannes@php.net
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