php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29050 Unknown(): Unable to load dynamic library 'c:\php\extensions\php_oci8.dll'
Submitted: 2004-07-07 15:18 UTC Modified: 2004-07-09 18:42 UTC
From: support at gis dot tusur dot ru Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.3.7 OS: Win2k ADS, Win2k3 Server
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: support at gis dot tusur dot ru
New email:
PHP Version: OS:

 

 [2004-07-07 15:18 UTC] support at gis dot tusur dot ru
Description:
------------
Please read attentively and help us if possible! 

We search for answer for this trouble through all forum and enythere in the internet but have not got it yet!
We have done all possible measures (different software and hardware configurations), but bug is still alive!

We have installed PHP as sapi on IIS (we have tried to use 5.0, 6.0 versions of IIS under Windows 2000 Advanced Server and Windows Server 2003 Enterprise).
We have Oracle Client 9.2.0.1.0 Enterprise edition.
We use PHP v4.3.7 (we have tried to use from v4.2.3 .... to v4.3.7).

With using of Oracle Client 9.0.1.1.1 all work properly.

Such kind of problem was discussed on the bug-forum, but there was no correct answer.

We have read following reports before we writing it:

http://bugs.php.net/bug.php?id=5764
http://bugs.php.net/bug.php?id=8362
http://bugs.php.net/bug.php?id=11774
http://bugs.php.net/bug.php?id=12352
http://bugs.php.net/bug.php?id=12821
http://bugs.php.net/bug.php?id=12975
http://bugs.php.net/bug.php?id=12977
http://bugs.php.net/bug.php?id=13861
http://bugs.php.net/bug.php?id=14641
http://bugs.php.net/bug.php?id=14867
http://bugs.php.net/bug.php?id=17002
http://bugs.php.net/bug.php?id=19747
-
http://bugs.php.net/bug.php?id=20022 - !!!!!
-
http://bugs.php.net/bug.php?id=20717
http://bugs.php.net/bug.php?id=20854
http://bugs.php.net/bug.php?id=21203
http://bugs.php.net/bug.php?id=25560
http://bugs.php.net/bug.php?id=25860

and etc.

Reproduce code:
---------------
<?

$login    = "USERNAME";
$password = "********";
$db       = "DATABASE";
$connection = OCIPLogon($login, $password, $db);

if ( $connection ) print 'ok...';

?>

Expected result:
----------------
ok...

Actual result:
--------------
We get this:

IIS message: Unknown(): Unable to load dynamic library 'c:\php\extensions\php_oci8.dll' - Access is denied.

PHP message: Fatal error: Call to undefined function: ociplogon() in c:\inetpub\wwwroot\index.php on line 6

In console we get: 'ok...'.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-07 15:23 UTC] tony2001@php.net
Pay attention to "Access is denied" message.
Seems you have some problem with access privileges (maybe IIS can't open OCI libs or something like that).
 [2004-07-07 15:35 UTC] support at gis dot tusur dot ru
This couldn't be an access privileges problem, because we use Oracle Client 9.0.1.1.1 before. And it works properly.

And now we switch between two Oracle cliens using Oracle Home Selector. But we must use only 9.2.0.1.0 in our project.
 [2004-07-07 15:43 UTC] tony2001@php.net
Make sure ORACLE_HOME environment variable is visible to IIS (use phpinfo()) and points to the right dir.
Try to install new (9.2) Oracle Client on a clean server and try again if nothing helps.

>This couldn't be an access privileges problem, because we 
>use Oracle Client 9.0.1.1.1 before.
This could be a problem of your upgrade tool.
 [2004-07-08 07:37 UTC] support at gis dot tusur dot ru
We have tried all your recommendations, but haven't got correct result - our system still don't work properly!
 [2004-07-08 11:13 UTC] sniper@php.net
Please ask installation support questions on an appropriate mailing list. This is a bug system and this is not a bug.

 [2004-07-08 11:48 UTC] support at gis dot tusur dot ru
And what if this is not an IIS bug, but PHP, wich not currently compatible 
with IIS and Oracle 9.2 ??
How you may be shure, that your PHP product works fine under Oracle 9.2 
and IIS?
Still, that problem not solved, even after 2 year since that 
http://bugs.php.net/bug.php?id=20022 bug report.

In that case - just stop declaring that PHP supports Oracle 9.2 + ISS, at least until you'll test compability 
of your sofware in same configuration.
 [2004-07-08 11:55 UTC] sniper@php.net
It doesn't say anywhere that we support IIS..Please read the docs.

 [2004-07-08 12:24 UTC] support at gis dot tusur dot ru
http://bugs.php.net/bug.php?id=20022

>Is 9i ( 9.2.0.1.0 ) supported ?
yes

You should declare in documentation that PHP v4.* + IIS v* + Oracle 9.2/10g Client couldn't work together.
 [2004-07-09 18:42 UTC] magnus@php.net
Only bugs that are actually fixed should have the status 'Closed'.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 10:01:30 2024 UTC