[PHPLIB] Please help on installation From: andrea bertoni (bertolinux <email protected>)
Date: 03/23/00

Hi everyone
Hope somebody can help me, I am about to lose my hope ...
I am trying to install PHPLIB on my Linux machine, running Apache and
Oracle 8.
I think I made all it is needed (I suppose so) but it does not work.
When I try to show a php3 file of the /pages directory the answer is;

Warning: oci8_open_server: Error while trying to retrieve text for error
ORA-12154 in db_oci8.inc on line 35
Database error: Link-ID == false (), OCILogon failed
ORACLE Error:
Session halted.

I am quite sure the problem is in local.inc
I changed the DB_EXAMPLE class in this way:

var $host="localhost"
var $database="COMMERCE"
var $user="nameofuser"
var $password ="passwd"

The user and the passwd I gave are already existing and working (I
already wrote some pages accessing database COMMERCE with OCI function).
The table requested by PHPLIB have been created via the script given
within the tar file and added to the COMMERCE database. I did not change
anything else in local.inc file. The only other change I made was to the
prepend.php3 file, where I put a reference to db_oci8.inc fil instead of
mysql one.
The include path work properly (I tested it with some pages)
What am I missing?
My doubts (actually I have thousand ....) are on the $host variable and
on the CT_sql class: maybe I shoul put my database name on its
database_class varibale' (I must tell you, I already tried, it is a sort
of engineering approch, I tried almost everything)

Thanks fot the attention

Regards

Andrea

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.