Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2000121

[PHP-DB] HELP:PHP 4.0.0 ,ORACLE 8.1.6 AND RED HUT 6.2 From: Lourdes Gil (lgil <email protected>)
Date: 12/15/00

Hello People:
is the first time that I write to this group of the news .
I am truely desperate since I have an error with php 4,0,0 and
oracle 8.1.6. I hope that somebody can
 help me since I have that to finish a project as rapidly as possible:

we had a aplication with the next product:
mSQL
Linux 6.2
 Apache 1.3.12
 perl

    This application we passed it with some problems to php 4,0,0, well
now we must
 change the data base by Oracle. We have installed Oracle 1.8.6. and it
works, we
installed php for oracle and I believe that the problem is this, the
test works perfectly.
 When trying to execute the following function:

function conexion_servidor ($user,$passw,$base)
 {

       $sock =ocilogon($user,$passw,$base);
       echo "se ha conectado al servidor con php con $sock";

    if ($sock <0)
    {
       mensaje("Error al conectarse al servidor de Base de Datos:
 OCIError()");
       exit(0);

    }

    return ($sock);

 }

When i execute this function say:
-Warning: _oci_open_server: Error while trying to retrieve text for
error
-ORA-12545 in base_datos_ora.inc on line 42.
   Again that I have proven it salia error ORA-12546. I believe that the

error leaves so
   that the Web server cannot connect itself with oracle, the solution
that I have proven is
   that the user of the server is oracle and has not given result.Ya
either not that to do.
   I need hepl
Thank

Lourdes

-- 
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>