oracle 8 database error 12154 using apache server on windows NT
| From: | Kristof Van de Loock | Date: | Fri, 14 Sep 2001 11:23:54 +0000 |
| Subject: | oracle 8 database error 12154 using apache server on windows NT | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12442@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to connect to an oracle 8 database using php 4.0.6
In my php.ini file I deleted the ";" in front of extension php_oci8.dll.
I've set the format of tnsnames.ora and sqlnet.ora to the unix format.
In the beginning of my php code I type:
putenv('ORACLE_HOME = c:\oracle\ora81');
putenv('TNS_ADMIN = c:\oracle\ora81\network\admin');
I also used winnt search to make sure that I changed
the format of EVERY version of tnsnames.ora and
sqlnet.ora, I even changed the format of every .ora
file in c:\oracle\ora81\network\admin' to a unix
format, but I still get error 12154.
In the forum on www.php.net I read something about setting user and group to
the same as
oracle's in the apache htppd.conf file, but I don't
seem to have any such setting in httpd.conf. The
apache I use is the one installed by default by oracle
8, so I don't think that is the problem.
If you have any clue, any help would be welcome.
Thanks,
Kristof.