note 9140 added to OCILogon
| From: | obatopaye at yahoo dot com | Date: | Wed, 18 Oct 2000 15:45:12 +0000 |
| Subject: | note 9140 added to OCILogon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6663@lists.php.net to get a copy of this message | ||
To avoid the ORACLE_SID problem/not being able to connect to database:
Apache parent thread runs as 'root' - setup root's profile to have ORACLE variables -
then when script starts Apache - also initialize profile to current shell.
user 'nobody' inherits all root's profile.
http://www.php.net/manual/function.ocilogon.php