PDA

View Full Version : can't enable db4 support in php


devil_flake
04-08-2004, 10:03 AM
I need to enable db4 (or db3) support in php... That is proving to be a much more difficult task than it should be.

I am attempting to use the diectadmin ./build script. I appended the /usr/local/directadmin/customapache/configure.php file with this line: --with-db4=/usr/lib

I then did this:
./build clean
./build php

I got this message:
Configuring extensions
checking for OpenSSL support... no......
...............
checking for db4 major version... configure: error: Header contains different version

*** There was an error while trying to configure php. Check the configure.php file

I have tried using just --with-db4 in configure.php and I have tried installing db4 from the latest rpm.

Get this: I have even tried enabling other DBA extensions to no avail... only cdb will compile.

I have looked in forums more broad than this one with no success. My last hope is that someone here has experienced a similar issue...

any ideas?

DirectAdmin Support
04-08-2004, 11:42 AM
Hello,

If you installed the db4 rpm, try checking for the db4-devel rpm. It would contain the required header files. Not positive, but it's something to look at.

John

devil_flake
04-08-2004, 12:36 PM
Thanks! That worked.