|
Posted by Chris on 07/19/05 23:02
I've never used the Oracle functions before, but the ora_* functions are
different than the oci_* functions.
The ./configure added the oci_* not the ora_*.
Just looking in from the outside it seems that you need the oci_* , so
try it wiith those?
Chris
Chuck Carson wrote:
>Okay, just built php 5.0.4 on solaris 9 and added mysql and oracle
>support (using Oracle 10.2.0.1). phpinfo() shows that oracle support
>is enabled, however, a simple call to ora_logon doesnt work:
>
>Fatal error: Call to undefined function ora_logon() in
>/usr/local/apache2/htdocs/oratest.php
>on line 2
>
>I configured php as follows:
>./configure --prefix=/usr/local/php-5.0.4
>--with-apxs2=/usr/local/apache2/bin/apxs --enable-cli --enable-cgi
>--with-openss=/usr/local/ssl --with-zlib --with-bz2 --enable-dio
>--with-gd --with-gettext --with-mysql=/usr/local/mysql
>--with-mysql-sock=/tmp/mysql.sock --enable-sockets
>--with-oci8=/u01/app/oracle/product/10.2
>
>Anyone have any ideas???
>Thx,
>CC
>
>
>
Navigation:
[Reply to this message]
|