apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garnier, Jeremie" <JGarn...@nds.com>
Subject RE: APR, Oracle and PHP & CGI
Date Fri, 19 Jan 2007 09:55:39 GMT
Hi all,

There is always the problem on my cgi whereas there is not this problem with the dbd test
program.
I see on my cgi that the function OCIHandleAlloc returns -2... Why this function does not
work on my cgi? It is a problem with the dbd_oracle_env?
Another question: where can I find some documentation/examples using mod_dbd. The aim is to
use mod_dbd in order to manage pooling. First I test APR/APU and after APR/APU works, I will
test mod_dbd...
Thanks,

Jérémie

-----Message d'origine-----
De : Bojan Smojver [mailto:bojan@rexursive.com] 
Envoyé : vendredi 19 janvier 2007 00:36
À : Garnier, Jeremie
Cc : Justin Erenkrantz; dev@apr.apache.org
Objet : Re: APR, Oracle and PHP & CGI

Quoting "Garnier, Jeremie" <JGarnier@nds.com>:

> I don't know why the test dbd works fine but when i make a cgi in   
> order to use it. It doesn't work.
>
> 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)).

Your best bet is probably to run the program under GDB to see what's  
really going on.

-- 
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 postmaster@nds.com and destroy the original message.
*********************************************************************************** 


Mime
View raw message