Hi all,


So have some news about APR/APU, Oracle and PHP & CGI... 

I make a CGI script and I can access to the Oracle XE database... To resolve 
the problem, I make some modification in order to link apache with APR/APU and 
in the driver of oracle (make another initialisation of the environment)...

And so, it works!!! Good results...

Now, I will use mod_dbd... Do you know how include mod_dbd API in a cgi script 
(or C program) as there no example or documentation of mod_dbd...

Thanks all for your help...



Jérémie GARNIER



-----Message d'origine-----
De : Bojan Smojver [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 19 janvier 2007 00:48
À : Garnier, Jeremie
Cc : Justin Erenkrantz; [email protected]
Objet : Re: APR, Oracle and PHP & CGI



Quoting "Garnier, Jeremie" <[EMAIL PROTECTED]>:



> It loads the oracle driver (via the function apr_dbd_get_driver but

> the function a^pr_dbd_open doesn't work (into apache, not with the

> dbd program (in httpd/srclib/apr-util/test)).



One more suggestion here: I had some issues with Oracle Instant Client

10g connecting to the database and the whole thing was related to

server spec passed to the driver. It had to be like this:

//server.domain.name:port/db, where all values were as specified in

/etc/tnsnames.ora file. You may also want to check the environment

variables that your Apache instance sees - Oracle may need some set.



--

Bojan

***********************************************************************************
Information contained in this email message is confidential and may be 
privileged, and is intended only for use of the individual or entity named 
above. If the reader of this message is not the intended recipient, or the 
employee or agent responsible to deliver it to the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. If you have received this communication 
in error, please immediately notify the [EMAIL PROTECTED] and destroy the 
original message.
***********************************************************************************

Reply via email to