请指示oracle9+apache+php的连接问题,很急!

由 jackylau 在 06-08-2004 22:01 发表:

请指示oracle9+apache+php的连接问题,很急!

我在redhat AS2.1上做一个web服务器oracle9+apache2.0.49+php4.3.6,

已经装上了oracle,安装没有问题。apache+php也没有问题,具体编译方式为

apache:./configure --prefix=/www --enable-so;make;make install

php:./configure --prefix=/usr/local/apache/php \

--with-apxs2=/usr/local/apache/bin/apxs \

--with-config-file-path=/usr/local/apache/php \

--enable-sockets \

--with-oracle=/home/oracle/product/9.2.0 \

--with-oci8=/home/oracle/product/9.2.0 \

--enable-track-vars \

--enable-sigchild

make;make install

其中oracle的home为/home/oracle/product/9.2.0

安装过程中没有错误。

php可以运行,但是oracle+php出现问题

出现调用错误。Fatal error: Call to undefined function: ocilogon() in 系列信息。用 http://otn.oracle.com/tech/opensour...nfo看也支持oci8

oci8

OCI8 Support enabled

Revision $Revision: 1.183.2.12 $

Oracle Version 9.2

Compile-time ORACLE_HOME /home/oracle/ora9/9i

Libraries Used no value

apache的启动脚本也绝对没有问题,如下:

#!/bin/sh

ORACLE_HOME=/home/oracle/product/9.2.0/

ORACLE_SID=oracle

export ORACLE_HOME

export ORACLE_SID

echo "Oracle Ho

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus