|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-23 09:33 UTC] frederic dot puteaux at chello dot fr
[2002-07-23 09:38 UTC] edink@php.net
[2002-07-23 11:23 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Jun 16 19:00:01 2026 UTC |
This is test page works with PHP and MySQL, but doesn't work with Oracle 8 and PHP4. The Oracle configuration is OK. The ODBC configuration is OK. <? $myConn = odbc_connect("MyDSN","MyUser","MyPassword",SQL_CUR_DEFAULT); ?> Warning: SQL error: [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve service name, SQL state 08001 in SQLConnect in c:\web\cgi\gias\testoracle.php on line 3 I have the same message if i use ADO or if i use a Direct Oracle connection with ora_logon. All programs of Oracle, same as SQL*Plus run without problem. Oracle Version : 8.0.5 Oracle Client Software Version : 8.0.5 PHP version : 4.2.1 Windows version : 5.0.2195 SP2 Oracle ODBC Driver : 8.0.5 I can't use the oci. I have this message : Unable to load dynamic library : c:/php/extensions/php_oci8.dll - La proc?dure sp?cifi?e est introuvable. (don't find the specified procedure) All others libraries can be loaded without problem. Sorry for my english. Fred.