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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
50 + 13 = ?
Subscribe to this entry?

 
 [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: Mon May 13 14:01:33 2024 UTC