note 10745 added to OCILogon

From: Date: Sat, 20 Jan 2001 01:05:27 +0000
Subject: note 10745 added to OCILogon
Groups: php.notes 
Request: Send a blank email to php-notes+get-9986@lists.php.net to get a copy of this message
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. http://www.php.net/manual/en/function.ocilogon.php

« previous php.notes (#9986) next »