logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.4.10 :: mod_dbd oracle driver
Author
Pixelbrei123



Joined: 30 Sep 2014
Posts: 6
Location: Germany

PostPosted: Wed 08 Oct '14 13:32    Post subject: Apache 2.4.10 :: mod_dbd oracle driver Reply with quote

I want to connect apache 2.4.10, which I downloaded from this site, with my Oracle 11g database. I have the oracle client installed.

I'm using mod_dbd and mod_authn_dbd to connect to the db:

Code:
DBDriver oracle
DBDParams "Data Source=server;Initial Catalog=database_name;User ID=user;Password=xxx"
DBDMin  4
DBDKeep 8
DBDMax  20
DBDExptime 300


But I get following error on startup:

Can't load driver file apr_dbd_oracle.so

Apache 2.2 did come with the apr_dbd_oracle-1.dll but this 2.4.10 build does not.
Am I missing out on something?
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Wed 08 Oct '14 16:44    Post subject: Reply with quote

Try https://phpdev.toolsforresearch.com/apr_dbd_oracle_11g_vc9_x86.zip
It might work.

Edit
In case you are using the 64-bits Apache:
https://phpdev.toolsforresearch.com/apr_dbd_oracle_11g_vc9_x64.zip

Edit 2
The same one, built with VC11:
https://phpdev.toolsforresearch.com/apr_dbd_oracle_11g_vc11_x64.zip

Edit 3
The last one of the 4:
https://phpdev.toolsforresearch.com/apr_dbd_oracle_11g_vc11_x86.zip

Let me know if it works. If not, I cannot really solve it because I do not have an Oracle DB running.
Back to top
Pixelbrei123



Joined: 30 Sep 2014
Posts: 6
Location: Germany

PostPosted: Fri 10 Oct '14 16:39    Post subject: Reply with quote

Thank you, it worked. Cool
I am using the 64bit VC11 version.

I have a small offtopic question:
How can I log/debug SQL Statements done with apache mod_dbd?

For example I use it to check the user/pwd for authorization. The only feedback I get is if it works and I see:

Code:
[authz_core:debug] [...] mod_authz_core.c(827): [client xxx.x.x.x:yyyyy] AH01628: authorization result: granted


I would like to see the result of the sql statement somehow.
Back to top


Reply to topic   Topic: Apache 2.4.10 :: mod_dbd oracle driver View previous topic :: View next topic
Post new topic   Forum Index -> Apache