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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-12 19:09 UTC] tony2001@php.net
You must install Oracle Instant Client.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC