php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17334 php_oci8.dll Issue
Submitted: 2002-05-21 10:11 UTC Modified: 2002-05-21 12:33 UTC
From: aehlert at lear dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.2.1 OS: NT 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: aehlert at lear dot com
New email:
PHP Version: OS:

 

 [2002-05-21 10:11 UTC] aehlert at lear dot com
This problem occurs when I uncomment the php_oci8.dll line in my php.ini file.  If run a script immediately after the uncommenting, the script will not finish executing.  It will just keep running until the script times out.

I am currently running PHP as a cgi.  If I recomment this library the scripts run perfectly.  I really need to be able to use this lib however.  Any suggestions?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-21 10:45 UTC] edink@php.net
Which version of the Oracle client do you have installed on the server?
 [2002-05-21 10:48 UTC] aehlert at lear dot com
We are using oracle 8.3 on the server.

I switch my php to version 4.0.6 and made a connection using OCILogon with no problems.  There is definately something wrong with the php_oci8.dll functionality with php 4.2.1.  I made no changes on the server.  I only changed which directory to look for the php.exe program in the IIS web administration.
 [2002-05-21 11:12 UTC] edink@php.net
Oracle 8.3? I thought that there was no versions of oracle between 8.1.7 and 9i.

Anyway, the php_oci8.dll was compiled using 8.1.7 client library, and I have just verified that it works well on my system.

Could you please provide a small script that reproduces the problems you're having. Do you get any error messages?
 [2002-05-21 11:26 UTC] edink@php.net
Just one more thing: did you remember to change extension_dir in your php.ini to point to the extensions directory of 4.2.1 distribution?
 [2002-05-21 12:01 UTC] aehlert at lear dot com
My bad on the oracle.  It was release 3 which is the 8.1.7 drivers.

The extentions are pointing to the correct area.  I have both directories setup the same way.

I was actually able to get the problem to re-occur under 4.0.6.

There is no special code that has to be run.  You can just run a simple script that contains phpinfo() in it.

Under 4.2.1, uncomment the php_oci8.dll and run the script.  On my server the page will run and keep on running.  Never stopping.

Under 4.0.6, uncomment both the php_oci8.dll and the php_oracle.dll.  It will do the same thing.  It will run and keep on running.

Kind of weird about the 4.06 behavior.
 [2002-05-21 12:33 UTC] edink@php.net
This is most probably the oracle client installation/configuration issue. There appears to be nothing wrong with php_oci8.dll shipped with PHP 4.2.1
 [2002-05-22 07:26 UTC] aehlert at lear dot com
Bingo!  Found it.

It occurs in both 4.0.6 and 4.2.1.  It is something to do with the php_oci8.dll and the php_oracle.dll.

Just use a simple script like:

<% phpinfo %>

Make sure that both of the dlls are commented out in the php.ini and run the script.  It will execute fine.  Now uncomment the php_oci8.dll and run the script.  it will execute just fine.  No recomment out the php_oci8.dll and uncomment the php_oracle.dll and run the script.  It will run just fine.  No uncomment out the php_oci8.dll so that both the php_oci8.dll and php_oracle.dll are uncommented.  The script will start to execute. It will look like it's done because it will show all of the phpinfo information on the screen, but the script will no stop running.

I was able to get this to happen on both 4.0.6 and 4.2.1.

Any reasons why both php_oci8.dll and php_oracle.dll can't operate at the same time?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 10:01:32 2024 UTC