Re: [PHP4BETA] oracle connection problems

From: Date: Fri, 25 Feb 2000 11:39:51 +0000
Subject: Re: [PHP4BETA] oracle connection problems
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-10936@lists.php.net to get a copy of this message
On Fri, Feb 25, 2000 at 12:35:59PM +0100, Harold wrote: > > 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.. got you > > 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.. hmm, 8.0.5 on linux had some problems. but you problem seems mostly client-related. > > i will report back with my findings.. ok. > > thanks for your time > > harald > -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#10936) next »