It sound like you have Oracle installed on one machine and are attempting to 
connect to it from another machine. If this is the case you may need to 
install the client libraries on the machine that does not have oracle 
installed. I recently did some development for a client in Windows and 
received the same error. After I read the PHP docs 
( and installed the client 
libraries on the Windows machine, I was able to connect to Oracle running on 
a Sun machine.

Hope this helps...

-----Original Message-----
From: Rajiv Khandelwal [mailto:[EMAIL PROTECTED]]
Sent: 27 December 2001 10:59

I am facing a strange problem.
I have oracle 8.1.6 (server) installed on linux and am trying to access it 
thru PHP from a client machine (again Linux). I was successful in making 
connections to the Oracle Server through programs written in C and Perl. But 
everytime i execute some program written in PHP it throws back an error.

"Fatal error: Call to undefined function: ocilogon() in 
/usr/local/apache/htdocs/test.php "

in test.php i am calling ocilogon as:
ocilogon ("scott","tiger",$db);

I have installed PHP with oracle support. phpinfo() shows that oracle 
support is enabled and it identifies ORACLE_HOME and ORACLE_SID.

MSN Photos is the easiest way to share and print your photos:

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to