RE: [PHP-DB] oracle connectivity problem

From: Date: Tue, 08 Jan 2002 14:22:16 +0000
Subject: RE: [PHP-DB] oracle connectivity problem
Groups: php.db 
Request: Send a blank email to php-db+get-15536@lists.php.net to get a copy of this message
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 (http://www.php.net/manual/en/ref.oci8.php) 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:rajiv@dsfinternet.com] Sent: 27 December 2001 10:59 hi, 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: http://photos.msn.com/support/worldwide.aspx

« previous php.db (#15536) next »