Web Hosting Talk







View Full Version : mod_php4, DBA and db3 woes


freakysid
09-19-2001, 03:55 AM
This is driving me mad!

I cannot get dba, and more specifically, Berkeley db3 suport working with my DSO build of php for apache. The twist is that when I compile php as a stand alone binary I can use the php dba functions to access db3 databases no troubles, but when I compile php into a dynamic apache module and load it into Apache, I can't get it to support db3 through the dba libarary!

I'm going nuts over this. I have written an web application that rellies on using a Berkeley DB3 database that is also used by another application. I guess, at the end of the day, I might have to just run the scripts as CGI - but it just makes no sense to me that php builds and works fine as a binary but not as an apache module.

I know this is a long shot - but if anyone has similar experience and can recommend some solution - please help.

Here are the config details of my latest build:
http://neaturl.com/temp/phpinfo-0109191745.html

I even reinstalled Berkeley DB3 using:
db3-3.1.17-7.src.rpm

Also, I've made a bug report with more details at
http://bugs.php.net/?id=13358

And finally, what the heck is up with Telstra Bigpond Cable in New South Wales today! :mad:

JTY
09-19-2001, 09:29 AM
Can you get GDBM to compile in?

freakysid
09-19-2001, 10:32 AM
I will give it a go. May I ask though, how that would help my cause?

<<edit>>

The answer is yes - it compiled in OK - I can use the dba functions on gdbm - but like I said, that doesn't help me access a db3 databse :(