ID:               42930
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jens at chaos-co dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         OCI8 related
 Operating System: Linux
 PHP Version:      4.4.7
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

PHP 4 wo't get support for anything new. But I think the PECL OCI8
module works with PHP 4 so you might try using that instead of the
bundled extensions. See Http://pecl.php.net


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

[2007-10-11 16:16:34] jens at chaos-co dot de

Description:
------------
In php 4.4.7, the support for oracle instantclient 11g is missing.

Reproduce code:
---------------
'./configure' \
'--enable-track-vars' \
'--with-apxs2=/usr/local/httpd-2.2.6-php4/bin/apxs' \
'--with-config-file-path=/usr/local/httpd-2.2.6-php4/conf/' \
'--enable-sigchild' \
'--with-oci8-instant-client=/opt/instantclient_11_1/' \

Expected result:
----------------
Runs through the configure and found the lib.

Actual result:
--------------
Exit on the detection.

Patch:

--- configure 2007-05-03 15:51:44.000000000 +0200
+++ configure.patched 2007-10-11 18:02:06.000000000 +0200
@@ -66047,13 +66047,27 @@
       { echo "configure: error: Oracle Instant Client library version
not supported" 1>&2; exit 1; }
     fi
   else
-    { echo "configure: error: Oracle Instant Client libraries not
found" 1>&2; exit 1; }
+    if test -f $PHP_OCI8_INSTANT_CLIENT/libnnz11.$SHLIB_SUFFIX_NAME;
then
+      if test -f
$PHP_OCI8_INSTANT_CLIENT/libclntsh.$SHLIB_SUFFIX_NAME.11.1; then
+        if test ! -f
$PHP_OCI8_INSTANT_CLIENT/libclntsh.$SHLIB_SUFFIX_NAME; then
+          { echo "configure: error: Link from
$PHP_OCI8_INSTANT_CLIENT/libclntsh.$SHLIB_SUFFIX_NAME to
libclntsh.$SHLIB_SUFFIX_NAME.11.1 not found" 1>&2; exit 1; }
+        fi
+        OCI8_VERSION=11.1
+      else
+        { echo "configure: error: Oracle Instant Client library
version not supported" 1>&2; exit 1; }
+      fi
+    else
+      { echo "configure: error: Oracle Instant Client libraries not
found" 1>&2; exit 1; }
+    fi
   fi
+
   echo "$ac_t""$OCI8_VERSION" 1>&6

+
+
   case $OCI8_VERSION in
-    10.1)
-
+    10.1|11.1)
+

   case clntsh in
   c|c_r|pthread*) ;;



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


-- 
Edit this bug report at http://bugs.php.net/?id=42930&edit=1

Reply via email to