Berkley DB isn't really meant for multi-user access. It is much better for an embedded database that is accessed by one process.
PHP processes run asyncronously on the web site. This means a php script accessing a Berkley DB has to rely on file locking to handle concurrent access.
This is very inefficient. thus no BDB support in php.
If you want to use BDB in a multi-user environment, you should write a web service in perl/c/python/etc that talks to BDB, and accepts connections from php. Or you could just use a real db server like mysql, postgres or something and save yourself the headache.