RE: [PHP] PHP + librairies OCI8 + IPlanet Web Server

2001-11-19 Thread J. Anderson Scarbrough

What kind of error message do you get?  Anything in the web server logs?  My 
guess would be that you do not have your all of your oracle environment 
variables set up.

-Original Message-
From: Damien LEBLANC [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 6:54 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP + librairies OCI8 + IPlanet Web Server


Hi,

   I have installed PHP 4.0.4pl1 on a Sun/OS 5.6 server with iPlanet Web
Server 4.1. I want to access to an Oracle database with the OCI8
librairies. I have an Oracle client 8.1.5 installed on my server.

  I have recompiled my PHP with these options :
   ./configure --prefix=/usr/local/php --with-nsapi=/opt/iplanet
--with-oci8=/export/home/oracle --with-oracle=/export/home/oracle

The compilation doesn't work.

So I have gotten the demo/rdbms librairies from Oracle 8.1.7 client
which seem to avoid. The compilation works but the libphp4.so file is
invalid. When the instance of iPlanet Web Server starts, it cannot load
this librairie.

If somebody can help me,
Thanks in advance,
Damiens

[EMAIL PROTECTED]
PS : Sorry for my english, I'm french.


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP + librairies OCI8 + IPlanet Web Server

2001-11-19 Thread Thies C. Arntzen

On Mon, Nov 19, 2001 at 12:54:05PM +0100, Damien LEBLANC wrote:
> Hi,
> 
>I have installed PHP 4.0.4pl1 on a Sun/OS 5.6 server with iPlanet Web
> Server 4.1. I want to access to an Oracle database with the OCI8
> librairies. I have an Oracle client 8.1.5 installed on my server.
> 
>   I have recompiled my PHP with these options :
>./configure --prefix=/usr/local/php --with-nsapi=/opt/iplanet
> --with-oci8=/export/home/oracle --with-oracle=/export/home/oracle
> 
> The compilation doesn't work.
> 
> So I have gotten the demo/rdbms librairies from Oracle 8.1.7 client
> which seem to avoid. The compilation works but the libphp4.so file is
> invalid. When the instance of iPlanet Web Server starts, it cannot load
> this librairie.

copying the demo/rdbms is not enough. please *install* oracle
onto the machine you want to run php on.

i'd also be interested in the messages you get when trying to
load php into iPlanet.

tc

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP + librairies OCI8 + IPlanet Web Server

2001-11-19 Thread Damien LEBLANC

Hi,

   I have installed PHP 4.0.4pl1 on a Sun/OS 5.6 server with iPlanet Web
Server 4.1. I want to access to an Oracle database with the OCI8
librairies. I have an Oracle client 8.1.5 installed on my server.

  I have recompiled my PHP with these options :
   ./configure --prefix=/usr/local/php --with-nsapi=/opt/iplanet
--with-oci8=/export/home/oracle --with-oracle=/export/home/oracle

The compilation doesn't work.

So I have gotten the demo/rdbms librairies from Oracle 8.1.7 client
which seem to avoid. The compilation works but the libphp4.so file is
invalid. When the instance of iPlanet Web Server starts, it cannot load
this librairie.

If somebody can help me,
Thanks in advance,
Damiens

[EMAIL PROTECTED]
PS : Sorry for my english, I'm french.