|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-26 00:01 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 06:00:01 2025 UTC |
All calls to odbc_connect() fails after upgrading from PHP 4.2.1 to 4.2.2. PHP is running under Apache 2.0.39 (not IIS) as sapi. This occurs with both MS's and Oracle's ODBC drivers. DSNs set up for this purpose work fine when executed with the MS ODBCTe32.exe tool and MS Access. The PHP works when directed to non-Oracle DSNs and when transferred to another system set up similarly but using 4.2.1. ODBC traces, Oracle traces, and the php error logs all point to an authentication failure (perhaps related to wide/multibyte string conversion to ANSI ??). PHP-error.log: SQL error: [Oracle][ODBC][Ora]ORA-12640: Authentication adapter initialization failed Oracle sqlnet.log: *********************************************************************** Fatal NI connect error 12640, connecting to: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=nt1)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PRODOFA.world)(CID=(PROGRAM=H:\www\apache-2.0.39\apache2\bin\Apache.exe)(HOST=NT1)(USER=SYSTEM)))) VERSION INFORMATION: TNS for 32-bit Windows: Version 8.1.7.0.0 - Production Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 8.1.7.0.0 - Production Time: 25-JUL-2002 18:00:22 Tracing not turned on. Tns error struct: nr err code: 0 ns main err code: 12640 TNS-12640: Authentication adapter initialization failed ns secondary err code: 0 nt main err code: 0 nt secondary err code: 0 nt OS err code: 0 Thanks.