php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63117 Bad version libdb version use.
Submitted: 2012-09-19 10:54 UTC Modified: -
From: remi@php.net Assigned:
Status: Open Package: DBM/DBA related
PHP Version: 5.4.7 OS: GNU/Linux (Fedora 18)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-09-19 10:54 UTC] remi@php.net
Description:
------------
Hi,

When various versiosn are installed, among 4.8, 5.2 or 5.3, configure doesn't detect the current one.

config.m4 include 5.1 condition but none for 5.2 or 5.3.

For headers, $i/include/db.h is probably the default/current version
For library, libdb.so is also probably the default/current version

Proposal:
Test $y/include/db.h first and, in PHP_DBA_DB_CHECK, "db" first.

RFE: It will be great to have libdb version reported in phpinfo().



Patches

dba-libdbinfo.patch (last revision 2012-09-19 13:10 UTC by remi@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-19 13:10 UTC] remi@php.net
The following patch has been added/updated:

Patch Name: dba-libdbinfo.patch
Revision:   1348060204
URL:        https://bugs.php.net/patch-display.php?bug=63117&patch=dba-libdbinfo.patch&revision=1348060204
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Oct 26 12:01:23 2020 UTC