Re: FW: Oracle 8 on win2k

From: Date: Mon, 14 Aug 2000 22:53:58 +0000
Subject: Re: FW: Oracle 8 on win2k
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-1785@lists.php.net to get a copy of this message
> PhiRo wrote: > > > I am using Oracle 8.0.5 on a win2k (IIS5, php as exe attached) machine using > > php4.0.1lp2 ( with the php_oci8.dll extention installed. ) > > After adding the extension to the php.ini file. php.exe hangs completely > > even when no functions from the php_oci8.dll is called at all. > > The php_oci8.dll is not locked and I have to kill php.exe manually. With > > dependency walker I have seen that all dll are present. > > When i comment the php_oci8.dll entry out in the php.ini file everyting > > works fine... > > Any suggestions anyone? > > First, where did you get the php_oci8.dll version you are using... one thing you > HAVE to remember with extensions and PHP, you can't just use the same extensions > from version to version. Example, if you try to use a php_oci8.dll compiled for > 4.0.0 with an installed php4.0.1pl2, errors will occur. > > PHP is very picky about compilations and matching extension sets. The only way > to reliably run a particular extension is to either 1) compile it yourself - not > so easy... or 2) get a FULL SET of binaries (executables, necessary extensions, > inis, etc) compiled together from someone else. > > Many of us on the list are using the compiled versions from NAPP > (not-another-php-portal) http://www.php4win.de/ > > Try their bins/extensions and see what you get :) > > -- > Andy Hoffman > Web Developer > Bristol-Myers Squibb > email: andy.hoffman@bms.com > I had a similar problem with personal oracle, apache, and Win98. My guess is that the php_oci8.dll gets loaded via the "extension" directive regardless of whether the script uses it or not. On win98 the php_oci8.dll needs to load the oracle oci.dll that is in the .../oracle/bin directory. When I did not have .../oracle/bin in my path the browser would hang.

« previous php.windows (#1785) next »