Orcale prob need info on setting the oracle environment variables
| From: | Smog | Date: | Sat, 02 Feb 2002 19:11:29 +0000 |
| Subject: | Orcale prob need info on setting the oracle environment variables | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16444@lists.php.net to get a copy of this message | ||
Well I have oracle 8.0.5 running on Win xp, with php4 and apache.
When I define php for using php_oci8.dll it gives me this error:
Warning: Unable to load dynamic library 'c:\php\extensions\php_oci8.dll' -
The specified module could not be found. in C:\htdocs\php.php on line 4
Well for what i gathered from php manual some oracle environment variables
need to to be defined, I was the one that installed Oracle in the machine
and I don´t have much knowlege in it. Can anyone please explain me where and
how to define these variables?
when I use php_oracle.dll I get this message:
Warning: Oracle: Connection Failed: ORA-12154: TNS:não foi possível decifrar
nome do serviço in c:\netpages\conect1.php on line 4
Couldn't logon.
So I wanted to try to use php_oci8.dll instead and try to connect my
database through it.