[php-maint] Bug#388601: dba_open from php 5.1.6 testing fails with Driver initialization failed for handler: db4: Unknown error 140682440

Mircea Negreanu nemesis at home.ro
Thu Sep 21 12:55:14 UTC 2006


Package: php5
Version: 5.1.6-1

Update php5 to 5.1.6-1 (it was 5.1.2 probably) and now any scripts that 
uses dba_open with db4 fails with: "Warning: dba_open(xxx.db,r): Driver 
initialization failed for handler: db4: Unknown error 140682440"

Script to reproduce:
<?php
var_dump(dba_open('xxx.db', 'c', 'db4'));
?>

Execute command:
php test.php
Observation: here it is php-cli which is used but the error appears in 
apache module also.

Error provided:
Warning: dba_open(xxx.db,r): Driver initialization failed for handler: 
db4: Unknown error 140682440 in test.php on line 2

Expected behaviour:
No warning and the printing of a resource.

kernel version (uname -a):
Linux xxxx 2.6.16-2-k7 #1 Fri Aug 18 19:48:42 UTC 2006 i686 GNU/Linux

dpkg -s libc6 | grep ^Version:
Version: 2.3.6.ds1-4

php -v :
PHP 5.1.6-1 (cli) (built: Sep  1 2006 13:52:26)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

Unfortunately I can't provide the version of php where everything works 
- i guess it was php5 5.1.2 (and I don't know how to revert to it, or 
where to get it. I have the feeling that this package replaces the old 
one, and the old one can not be obtained any more)






More information about the pkg-php-maint mailing list