Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 2000051

RE: [PHP3] about php+apache+orace From: Centro Tecnológico de Corvera (josei <email protected>)
Date: 05/02/00

I can connect to the database in my Linux Server from win98 clients with
user,password and service(CTC0), so I think the LISTENER configuration is
ok. I have the php code:
<?php

$conn = OCILogon("user","password", service)
.
.
.
.
?>

as an env I've got ORACLE_SID=CTC0, so I do no need to insert the service
as the doc says. I did in two ways but doesn't work. I'm really lost!!.
        
On Mon, 1 May 2000, Day, Grantley wrote:

> It sounds like your problem is in the TNSNAMES.ORA file which tells the OCI
> layer imbedded into PHP which LISTENER is connected to.
>
> Grantley Day
>
>
> -----Original Message-----
> From: Centro Tecnológico de Corvera [mailto:josei <email protected>]
> Sent: Monday, May 01, 2000 9:39 AM
> To: charette <email protected>
> Cc: php3 <email protected>
> Subject: Re: [PHP3] about php+apache+orace
>
> this is the result when i execute "lsnrctr start" but i've got the same
> error message.I'm really lost.
> _____________________________________________________________________
>
> LSNRCTL for Linux: Version 8.0.5.0.0 - Production on 01-MAY-00 18:33:59
>
> (c) Copyright 1997 Oracle Corporation. All rights reserved.
>
> Arrancando /u01/app/oracle/product/8.0.5/bin/tnslsnr: por favor, espere...
>
> TNSLSNR for Linux: Version 8.0.5.0.0 - Production
> El fichero de parámetros del sistema es
> /u01/app/oracle/product/8.0.5/network/admin/listener.ora
> Mensajes del log escritos en
> /u01/app/oracle/product/8.0.5/network/log/listener.log
> Escuchando: (ADDRESS=(PROTOCOL=ipc)(DEV=6)(KEY=PNPKEY))
> Escuchando: (ADDRESS=(PROTOCOL=tcp)(DEV=10)(HOST=192.168.0.1)(PORT=1521))
>
> Conectándose a (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
> ESTADO del LISTENER
> ------------------------
> Alias LISTENER
> Versión TNSLSNR for Linux: Version 8.0.5.0.0 - Production
> Fecha de Inicio 01-MAY-00 18:34:02
> Tiempo de actividad 0 días 0 hr. 0 min. 0 seg
> Nivel de Rastreo off
> Seguridad OFF
> SNMP OFF
> Fichero de Parámetros del Listener
> /u01/app/oracle/product/8.0.5/network/admin/listener.ora
> Fichero Log del Listener
> /u01/app/oracle/product/8.0.5/network/log/listener.log
> Resumen de servicios...
> CTC0 tiene 1 gestor(es) de servicio
> extproc tiene 1 gestor(es) de servicio
> El comando se ha ejecutado correctamente
> ______________________________________________________________________
>
> CENTRO TECNOLÓGICO DE CORVERA
> C/Estebanina 20, Bajo
> 33406 - Las Vegas (Corvera de Asturias)
> Telfno: (98) 551 40 53
> emails:
> ctc <email protected>
> infoctc <email protected>
> josei <email protected>
> ctc <email protected>
> josei <email protected>
> aliciai <email protected>
> Página Web:
> http://www.mrbit.es/~josei
>
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>