Re: ARG, call to undefined function, same problem I had on SuSE

From: Date: Tue, 19 Jul 2005 23:49:22 +0000
Subject: Re: ARG, call to undefined function, same problem I had on SuSE
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-219013@lists.php.net to get a copy of this message
You didn't send the questionto the list... I have no idea. Chris Chuck Carson wrote:
Using ocilogon, I get this error: Warning: ocilogon() [function.ocilogon]: _oci_open_server: Error while trying to retrieve text for error ORA-12154 in /usr/local/apache2/htdocs/oratest.php on line 2 Can anyone point me in the right direction? Thx, CC On 7/19/05, Chris <listschris@leftbrained.org> wrote:
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
     
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#219013) next »