Page 1 of 1

oracle and php

Posted: Sat May 07, 2005 12:32 am
by niceguy_reddy
Hello,

I have php working with apache on linux. I have my oracle database on another machine with windows NT. How can i configure my php on linux machine to connect with oracle on the windows NT machine. When I run the connect statement it says

Fatal error: Call to undefined function: ora_logon() in /usr/share/pear/includes/drivers/adodb-oracle.inc.php on line 90.

What should I do to solve this problem.

Posted: Sat May 07, 2005 2:57 am
by onion2k
I believe that error message means PHP has been compiled without Oracle support. Read the instructions and comments here: http://uk.php.net/manual/en/ref.oracle.php

Posted: Wed Jul 13, 2005 1:44 pm
by TheOracle
Also ensure that you have an Oracle client installed on your webserver, and that the TNSNAMES file has the correct connection information within it.