php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38436 Lost DLL
Submitted: 2006-08-12 17:09 UTC Modified: 2006-08-12 19:09 UTC
From: peekmsg at sina dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 5.1.4 OS: WindowXP
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: peekmsg at sina dot com
New email:
PHP Version: OS:

 

 [2006-08-12 17:09 UTC] peekmsg at sina dot com
Description:
------------
PHP 5.1.4 Windows Binaries zip package lost php_oracle.dll file that I can not connect to Oracle 9i.

php_oci8.dll and php_oracle.dll extension is opened in php.ini.


Reproduce code:
---------------
function _oracle_db_connect($connect = array()) {
	if (isset($connect['port'])) {
		$connect['host'] = $connect['host'] .':'. $connect['port'];
	}
	$connection = ocinlogon($connect['user'], $connect['pass'], $connect['host']) or error_trigger(oci_error());
	return $connection;
}


Expected result:
----------------
function _oracle_db_connect($connect = array()) {
	if (isset($connect['port'])) {
		$connect['host'] = $connect['host'] .':'. $connect['port'];
	}
	$connection = ocinlogon($connect['user'], $connect['pass'], $connect['host']) or error_trigger(oci_error());
	return $connection;
}


Actual result:
--------------
Fatal error: Call to undefined function oci_new_connect() in I:\WebService\WWW\CMS\includes\db\db.oracle.inc on line 36


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-12 19:09 UTC] tony2001@php.net
You must install Oracle Instant Client.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 17:01:29 2024 UTC