[PHP-DB] Error connecting to Oracle8i From: Cody Caughlan (codyc <email protected>)
Date: 08/31/00

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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>