php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46278 Unsupported Oracle version! 11.1
Submitted: 2008-10-12 10:40 UTC Modified: 2016-03-08 01:31 UTC
From: Fedora at FamilleCollet dot com Assigned: cjorcl (profile)
Status: Not a bug Package: PDO OCI
PHP Version: 5.2CVS-2008-10-12 (snap) OS: Linux (Fedora 9)
Private report: No CVE-ID: None
View Add Comment Developer Edit
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:
MUST BE VALID
Solve the problem:
17 - 6 = ?
Subscribe to this entry?

 
 [2008-10-12 10:40 UTC] 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:
--------------
-

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-12 11:08 UTC] johannes@php.net
Chris, please take a look.
 [2008-10-12 17:55 UTC] sixd@php.net
Stas merged a fix to 5.3 & 6 for this last week.
 [2008-10-16 20:45 UTC] sixd@php.net
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-17 05:40 UTC] Fedora at FamilleCollet dot com
@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)
 [2016-03-08 01:31 UTC] sixd@php.net
-Package: PDO related +Package: PDO OCI
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC