php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #46377 Problem loading oci.dll with multiple Oracle clients.
Submitted: 2008-10-24 11:12 UTC Modified: 2009-05-04 15:45 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: phsanghvi at gmail dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.2.6 OS: Windows XP
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: phsanghvi at gmail dot com
New email:
PHP Version: OS:

 

 [2008-10-24 11:12 UTC] phsanghvi at gmail dot com
Description:
------------
While working on a machine having multiple Oracle clients installed, 'php_oci8.dll' extension looks for 'oci.dll' file in the first oracle directory in %path%.

If the first Oracle in %path% is of version 9 or less, extension is enabled, but it does not work.

IMO, 'php_oci8.dll' should be modified to read the location of 'oci.dll' from 'php.ini' file, where user should set it.

This will help in using multiple Oracle clients and multiple applications togather.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-04 15:23 UTC] pajoye@php.net
Set your PATH correctly and it will find it. We can't control what will happen before we get the hand.
 [2009-05-04 15:41 UTC] phsanghvi at gmail dot com
I am sorry to see such a late, and impolite response !!!

Immediately after posting my request, I had modified php_oci8.dll, so that it does not look for oci.dll, but for another file (I changed it to ocp.dll), and then renamed oci.dll of newer version to ocp.dll.

My application has been working fine since then.

Your action of putting the status as "Bogus" is highly disappointing. Instead of considering the suggestions of people, you are trying to discourage them.

I faced a unique situation, where I had to use PHP with Oracle Instant Client, and was constrained to use older Oracle version also on the server. I made a suggestion for overcoming such a problem, but your arrogant approach is incomprehensible.

Sorry to see developers like you. Shame on you.
 [2009-05-04 15:45 UTC] pajoye@php.net
Shame on me for telling you how it works? No comment.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 02:01:28 2024 UTC