|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-12-24 06:51 UTC] brunofr at ioda dot net
Description: ------------ When I try to compile php 5.2.0 (release sources) with instant client Oracle 10.2.0.2 install it says ./configure --with-pdo-oci=shared,instantclient,/usr/lib/oracle/10.2.0.2/client checking checking if we're at 64-bit platform... no checking OCI8 libraries dir... instantclient,/usr/lib/oracle/10.2.0.2/client/lib32 checking for oci.h... /usr/lib/oracle/10.2.0.2/client/sdk/include configure: error: line 71685 Unsupported Oracle version! The pdo, pdo-mysql and pdo-sqlite compile and work without issue. The oci module work great too and doesn't complain. I've try to understand what's happen but without any success. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 15:00:02 2025 UTC |
i've managed how to compile it : But this is the ugly way I've force PDO_OCI_VERSION=10.2 in configure line 71194 and configure, make make install and phpinfo() seems all ok. I think there's a big trouble with the version decode way in configure here if test -s "$PDO_OCI_DIR/orainst/unix.rgs"; then PDO_OCI_VERSION=`grep '"ocommon"' $PDO_OCI_DIR/orainst/unix.rgs | sed 's/ */:/g' | cut -d: -f 6 | cut -c 2-4` test -z "$PDO_OCI_VERSION" && PDO_OCI_VERSION=7.3 elif test -f $PDO_OCI_LIB_DIR/libclntsh.$SHLIB_SUFFIX_NAME.10.1; then PDO_OCI_VERSION=10.1