R: [PHP-DB] TNS could not resolve service name with php_oci8.dll on Win NT
| From: | Roberto Sartor | Date: | Wed, 06 Sep 2000 12:29:46 +0000 |
| Subject: | R: [PHP-DB] TNS could not resolve service name with php_oci8.dll on Win NT | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2656@lists.php.net to get a copy of this message | ||
Make a script with <?php phpinfo(); ?>, call it by your browser and then
look in there if ORACLE_HOME and others environment vars are defined.
Ciao
Roberto
> -----Messaggio originale-----
> Da: kkhui [mailto:kkhui@21cn.com]
> Inviato: mercoledì 6 settembre 2000 12.29
> A: php-db@lists.php.net
> Oggetto: Re: [PHP-DB] TNS could not resolve service name with
> php_oci8.dll on Win NT
>
>
> Add ORA_HOME in your environment variable. I have done it
> just now, it worked.
> ----- Original Message -----
> From: "Olivier Delaye" <olivier.delaye@digitech.fr>
> To: <php-db@lists.php.net>
> Sent: Wednesday, September 06, 2000 3:42 PM
> Subject: [PHP-DB] TNS could not resolve service name with
> php_oci8.dll on Win NT
>
>
> > I have a problem using php_oci8.dll with php4 on Win NT
> >
> > The "ocilogon" function returns the following error:
> > "TNS:could not resolve service name"
> >
> > The file "tnsnames.ora" is correct since the same access
> > is successful with SQL-Plus...
> >
> > My "tnsnames.ora" file is located in \orant\net80\admin
> > maybe oci8 is looking for it in another place?
> >
> > Can somebody help me?
> >
> > Many thanks!
> >
> > Olivier DELAYE
> > Chef de Projets
> > DIGITECH
> > Bâtiment Euclide
> > Technopole de Chateau-Gombert
> > 13013 MARSEILLE
> > FRANCE
> > Tel: (+33) 4-91-11-80-93
> > Fax: (+33) 4-91-11-70-51
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-db-help@lists.php.net
> > To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
> >
>