Re: RH9 Pro, oracle, php
| From: | (fintan) | Date: | Thu, 25 Sep 2003 09:05:46 +0000 |
| Subject: | Re: RH9 Pro, oracle, php | ||
| References: | 1 2 3 4 5 6 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11960@lists.php.net to get a copy of this message | ||
Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<bksf5c$5c9pe$3@ID-18487.news.uni-berlin.de>...
> fintan <fintan.macmahon@opw.ie> wrote:
> > the installation finishes and asks do I want to set up a net service
> > name it hangs
>
> The installation of the Net Service is just the configuration of the
> tnsnames.ora file in /whereve/oracle/network/admin the file is simple
> enough to be done by hands.
>
> Davide
Then the Client should be complete. Then why am I getting sqlplus/php
errors. Just out of curiousity what is the minimun needed to get php
working. I know you need the Oracle Call Interface. Do you need the
rest? I've tried different things like
putenv("ORACLE_HOME=/opt/oracle/product/9.2.0");
putenv("ORACLE_SID=DATABASE");
putenv("LD_LIBRARY_PATH=/opt/oracle/product/9.2.0/lib");
and
$ora = "DATABASE.OPW.IE = (DESCRIPTION =(ADDRESS_LIST = (ADDRESS =
(PROTOCOL = TCP)(HOST = server.opw.ie)(PORT = 1521)))(CONNECT_DATA =
(SERVICE_NAME = DATABASE)))";
but all with the same errors. Is there something I'm missing.
fintan.