![]() |
sponsored links |
|
|
sponsored links
|
|
|
2
25th August 18:41
External User
Posts: 1
|
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 |
|
|