note 10745 deleted from function.oci-connect by sixd

From: Date: Wed, 09 Dec 2009 21:02:49 +0000
Subject: note 10745 deleted from function.oci-connect by sixd
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-163759@lists.php.net to get a copy of this message
Note Submitter: c_caughlan at hotmail dot com ---- If you are experiencing problems logging onto your Oracle DB, maybe a ORA-12154 error or something like that, try setting the ORACLE_HOME, ORACLE_SID, TNS_ADMIN vars in your Apache config, rather than using PutEnv() inside PHP. Its because PHP/Apache needs to know these variables upon server startup, not when it serves the PHP page. Of course, this assumes you have OCI installed locally on the webserver, if you dont, no matter what variables you set and where, it just wont work.

« previous php.notes (#163759) next »