Bug #17408 Updated: fail to connect oracle
| From: | mfischer@php.net | Date: | Fri, 24 May 2002 13:07:35 +0000 |
| Subject: | Bug #17408 Updated: fail to connect oracle | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8399@lists.php.net to get a copy of this message | ||
ID: 17408
Updated by: mfischer@php.net
Reported By: teerayuk@ais900.com
-Status: Open
+Status: Bogus
Bug Type: Oracle related
Operating System: WIN2000 AD Server
PHP Version: 4.1.2
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-05-24 08:56:24] teerayuk@ais900.com
Hello,
I upgrade my server from NT -> 2000 and php 4.04pl -> 4.12 because i
test with 4.21 and it's not work good. i have very problem with php in
the upgrade process such as "access encounter at ..." and i read
suggestion in the net to use cgi version instad of isapi version. When
i do that, it's nearly good but i founds another problem about oracle
connection (in isapi it works good).
my code is :
putenv("ORACLE_SID=XXX");
putenv("ORACLE_HOME=e:\orant");
putenv("TNS_ADMIN=e:\orant\network\admin");
ora_logon($this->sqluser,$this->sqlpass);
it's not work!! and return error
Oracle: Connection Failed: ORA-12154: TNS:could not resolve service
name
i don't understand because i assigned ORACLE_HOME & TNS_ADMIN already
when i use phpinfo() it return
oracle
Oracle Support enabled
Environment
.
.
.
ORACLE_SID acid1
ORACLE_HOME e:\orant
TNS_ADMIN e:\orant\network\admin
variable that i assign is in environment section. it's the bug or not.
And how can i do.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17408&edit=1