[PHP-users 26815] PHP + Oracle Instant Client について

kounoike.h kounoike @ hi-lex.co.jp
2005年 9月 8日 (木) 15:44:22 JST


いつもお世話になっております
鴻池と申します。

早速ですが、質問させて頂きます。

現在 PHP + Oracle Instant Client を使って
Oracle9i に接続を試みています。

OCILogon("user", "passwd", "hostname:1521/orcl");

で接続を行うと、InternetExplorer 「ページを表示できません」
状態になってしまします。

OCILogin で、存在しないホスト名やポート等を設定して
実行すると、正常にエラーを戻してきます。

Google などで調べると「Oracle Instant Client」の
バージョン「10.1.0.3.0」では接続実績があるようですが
使用しているのは「10.1.0.4.1」です。

単純に「Oracle Instant Client」のバグなのでしょうか?

クライアント側環境
Red Hat Enterprise Linux ES release 3
apache_1.3.33
php-4.3.11
oracle-instantclient-basic-10.1.0.4-1.i386.rpm
oracle-instantclient-devel-10.1.0.4-1.i386.rpm
oracle-instantclient-jdbc-10.1.0.4-1.i386.rpm
oracle-instantclient-sqlplus-10.1.0.4-1.i386.rpm

サーバ側環境
Red Hat Enterprise Linux ES release 3
Oracle9i Enterprise Edition Release 9.2.0.4.0

コマンドラインで接続確認の為
sqlplus user/passwd @ hostname:1521/orcl
を実施すると接続できます。

また、PHP のコンパイルオプションは下記の通りです

./configure \
--enable-versioning \
--enable-ftp \
--enable-gd-native-ttf \
--enable-mbstring \
--enable-mbstr-enc-trans \
--enable-mbregex \
--enable-sockets \
--enable-sigchild \
--with-ibm-db2=/usr/IBMdb2/V7.1 \
--with-pgsql=/usr/local/pgsql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--enable-gd-jis-conv \
--with-freetype-dir \
--with-zlib \
--with-curl=/usr \
--enable-cli \
--enable-zend-multibyte \
--with-oci8-instant-client=/usr/lib/oracle/10.1.0.4/client/lib \
--with-mysql=/usr/local/mysql

以上、宜しくお願い致します。

-- 
鴻池 弘教
E-mail kounoike @ hi-lex.co.jp


PHP-users メーリングリストの案内