php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #985 php3_oci73.dll cannot be loaded
Submitted: 1998-12-10 10:19 UTC Modified: 1999-01-04 11:17 UTC
From: anavarrete at cos dot ch Assigned:
Status: Closed Package: Oracle related
PHP Version: 3.0.5 OS: Windows 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: anavarrete at cos dot ch
New email:
PHP Version: OS:

 

 [1998-12-10 10:19 UTC] anavarrete at cos dot ch
Hello PHP-Team!
I got the "php-3_0_5-win32.zip"-File from your ftp-server and put it into my cgi-bin directory of Apache 1.3 for Windows. First I tried out an ODBC-Connection to the Oracle-Server. This feature works just fine.
Now I should be able to connect direct to the Database (OCI), because of performance-tests.
(php3 and Oracle8 on Linux are working great!)
The sample-script to log on to Oracle:

<? 
  dl("php3_oci73.dll");
  $id = ora_logon("test@orcl", "test");
  if ($id==0) {
    echo ("Connection failed.");
  }
  else {
    echo ("Connection ok.");
  }
?>

Error-Msg:
Warning: Invalid library (maybe not a PHP3 library) 'php3_oci73.dll' in (null) on line 15

Note: If a library such as "php3_calendar.dll" has been loaded, there is no
error message about the *.dll .

Thanks for your effort!

Alex Navarrete 

STILL THE SAME PROBLEM:
I have installed Oracle 7.3 Client (with Oracle Call Interface 7.3.2.1.0)
I use a dedicated Oracle8 Server.
I can reach the Server via SQL*Plus3.3.
But the error message  is still the same.
I also tried out the ociw32.dll file without success.

SUCCESS:
I took the following distribution and it works just fine.

"www.php.net/distributions/php-3.0.6-dev-win32.zip"

The "php3_oci73.dll" was wrong.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-01-04 11:17 UTC] anavarrete at cos dot c
This module has been working for others.  If you have oracle 8 and not 7.3, it will not work.  If you
do not have oracle 7.3 installed (trying to connect to another server with oracle) you must install the client
dll's for oracle (php doesn't come with them).  Please advise if any of this solves your problem, or not, and I
will reopen and look into it.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Feb 25 19:01:24 2021 UTC