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: 2021-09-19 04:22 UTC
From: remi@php.net Assigned: cmb (profile)
Status: No Feedback Package: DBM/DBA related
PHP Version: 5.4.7 OS: GNU/Linux (Fedora 18)
Private report: No CVE-ID: None
 [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)

Pull Requests

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
 [2021-09-09 14:50 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-09-09 14:50 UTC] cmb@php.net
Is this still an issue, Remi?  If so, I suggest you create a pull
request.
 [2021-09-19 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jan 03 08:01:28 2025 UTC