ID:               46278
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:      Fedora at FamilleCollet dot com
 Status:           Bogus
 Bug Type:         PDO related
 Operating System: Linux (Fedora 9)
 PHP Version:      5.2CVS-2008-10-12 (snap)
 Assigned To:      cjorcl
 New Comment:

@sixd

I don't understand your comment.

I use the right syntax and path to the lib is detected without any
problem.

The issue is during version checking : 11.1 (from line 103) is not 11.x
(check in line 137)


Previous Comments:
------------------------------------------------------------------------

[2008-10-16 20:45:36] [EMAIL PROTECTED]

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


------------------------------------------------------------------------

[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

Reply via email to