Error connecting to Oracle8i

From: Date: Thu, 31 Aug 2000 21:30:01 +0000
Subject: Error connecting to Oracle8i
Groups: php.db 
Request: Send a blank email to php-db+get-2537@lists.php.net to get a copy of this message
Hello, I am using PHP4, connecting to a Oracle8i server with OCI compiled in. In my sample script: PutEnv("ORACLE_SID=EngDB"); $conn = OCILogon("lchan", "lchan", "EngDB"); if($conn == false) echo "Error connecting"; I receive in my browser: Warning: _oci_open_server: Error while trying to retrieve text for error ORA-12514 in /users/codyc/html/oci8/testoci.php on line 4 Error connecting In my httpd.conf I have: SetEnv ORACLE_HOME "/local/app/oracle/product/8.1.6" SetEnv TNS_ADMIN "/local/app/oracle/product/8.1.6/network/admin" What does this error mean? Also, how do I connect two a remote Oracle DB, i.e. what is the syntax for OCILogon()? Thanks in advance /Cody Caughlan

« previous php.db (#2537) next »