Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 2000051

RE: [PHP3] php and oracle From: alberto.ramos <email protected>
Date: 05/09/00

Have you set the variable TWO_TASK?

-----Original Message-----
From: Michael McConnell [mailto:michael <email protected>]
Sent: Martes, 09 de Mayo de 2000 01:53 p.m.
To: Bjorn Sodergren
Cc: php list
Subject: [PHP3] php and oracle

I've seen quite a few messages redarding Oracle and PHP but none have
really helped me. I'm still getting errors when trying to connect. My
little test programs is as follows:

<? $conn1 = ocilogon("system", "manager"); ?>

When I execute this (using apache 1.3.12, PHP 4.0RC1 or PHP 3.0.15 and
Oracle 8i 8.0.15) ORA-12546 or
"Warning: _oci_open_server: Error while trying to retrieve text for
error ORA -12546 in /www/htdocs/phptest.php on line 9
when the program is like
<? $conn1 = orcilogon("system", "manager", "v81815") ?>
I get error ORA-12154

Can anyone help me out, the databases name is vsdb1, the listener is
running with v81815 as the db the database is started. I've tried
differenet users
Ora-12546 seems to be a permisson error, so I added a user called
gateway, and still didn't get any better results

any help, input thoughts would be much appreciate

System Info
RedHat 6.1 Updated
Oracle 8.0.15 with the 2 patches
Php 4.0RC1 (currently)

Thanks so much,

Michael McConnell

--
Michael McConnell

Senior Network Engineer Vocal Scape Communications www.vocalscape.com

Office (604)-437-8647 x 1 Fax (604)-437-8646 Cell (604)-290-8126 michael <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>