Date: 12/28/00
- Next message: Vlad: "[PHP-DB] ODBC Problems. Server rejected the connection."
- Previous message: Luis Castro Mendoza: "Re: [PHP-DB] Ora_Logon problems"
- In reply to: Luis Castro Mendoza: "Re: [PHP-DB] Ora_Logon problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Just setting env variables dont work! are any other solutions?
I check phpinfo() for correct ORACLE_HOME & TNS_ADMIN. It is correct...
Luis Castro Mendoza <lcastro <email protected>> ÐÉÛÅÔ ×
ÓÏÏÂÝÅÎÉÉ:3A4B4042.DEF81437 <email protected>
> Vlad wrote:
>
> > Hi all
> > I have such problem:
> >
> > $conn = Ora_Logon("user <email protected>", "pass");
> >
> > Dont works. Message is : Cant resolve TNS name.
> > MYTNSNAME exists and when using it from PL\SQl it works...
> > Help please ...
> >
> > Thanks Vlad
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> > For additional commands, e-mail: php-db-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
>
> You must set ORACLE_HOME env variable for apache, I do this add
> ORACLE_HOME=path_oracle_home
> export ORACLE_HOME
> in apachectl script
>
> The problem is in your config, cause for APACHE doesn't exist the env
> variable that is necessary to search TNSNAMES.ORA (oracle search it in
> $ORACLE_HOME/network/admin)
>
> Hope this helps
> --
> Luis Castro Mendoza
> Universidad de Chile
> Vicerrectoría de Economía y Administración
> Servicios Tecnológicos de Gestión
> mailto:lcastro <email protected>
> Phone: 56-2-6782662
> Fax: 56-2-6782670
>
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Vlad: "[PHP-DB] ODBC Problems. Server rejected the connection."
- Previous message: Luis Castro Mendoza: "Re: [PHP-DB] Ora_Logon problems"
- In reply to: Luis Castro Mendoza: "Re: [PHP-DB] Ora_Logon problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

