RE: [PHP4BETA] oracle connection problems

From: Date: Fri, 25 Feb 2000 11:35:59 +0000
Subject: RE: [PHP4BETA] oracle connection problems
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-10935@lists.php.net to get a copy of this message
> please *dont't* set anything related to oracle using putenv() > in your script. i suspect this beeing the source of various > problems! explanation: > > OCIInitialize() is called when the module is loaded, and that > is before any script ever had a chance to call PutEnv(). it > seems that certain env-vars need to be known at this stage so > the only choice is to set them *before* you start apache! >> >> we are connecting to a remote linux oracle server (8.0.5).. > > are you running 8.0.5 or 8.0.5.1. i would highly > recomment to use 8.0.5.1! my mistake, we are not using putenv in our scripts, we have SetEnv in the httpd.conf which set the variables.. without this SetEnv in the httpd.conf, we do not see the oracle variables via phpinfo.. we are not able to upgrade the (remote) database to 8.0.5.1, but we will try with a 8.0.5.1 client.. i will report back with my findings.. thanks for your time harald

« previous php.version4 (#10935) next »