Re: R: [PHP-DB] TNS could not resolve service name with php_oci8.dll on Win NT

From: Date: Wed, 06 Sep 2000 11:58:54 +0000
Subject: Re: R: [PHP-DB] TNS could not resolve service name with php_oci8.dll on Win NT
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2657@lists.php.net to get a copy of this message
add the user "nobody" to "dba" group (if it your case) check permissions of oracle dir ( ex: /home/oracle), make sure others users of group "dba" have access to oracle dir. su nobody -> ls -l /home/oracle Best regards Joao Alves Callidus Sistemas ----- Original Message ----- From: Roberto Sartor <roberto@mionetto.it> To: 'kkhui' <kkhui@21cn.com>; <php-db@lists.php.net> Sent: Wednesday, September 06, 2000 9:29 AM Subject: [PHP-DB] R: [PHP-DB] TNS could not resolve service name with php_oci8.dll on Win NT | 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 | > > | > | | -- | 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 |

« previous php.db (#2657) next »