#38436 [Opn->Bgs]: Lost DLL

From: Date: Sat, 12 Aug 2006 19:09:28 +0000
Subject: #38436 [Opn->Bgs]: Lost DLL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100717@lists.php.net to get a copy of this message
ID: 38436 Updated by: tony2001@php.net Reported By: peekmsg at sina dot com -Status: Open +Status: Bogus Bug Type: OCI8 related Operating System: WindowXP PHP Version: 5.1.4 New Comment: You must install Oracle Instant Client. Previous Comments: ------------------------------------------------------------------------ [2006-08-12 17:09:52] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38436&edit=1

« previous php.bugs (#100717) next »