Re: ext/dba: drop support for Berkeley DB < 4
| From: | Christoph M. Becker | Date: | Mon, 08 Oct 2018 23:46:20 +0000 |
| Subject: | Re: ext/dba: drop support for Berkeley DB < 4 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103309@lists.php.net to get a copy of this message | ||
On 07.10.2018 at 18:40, Kalle Sommer Nielsen wrote:
> Den lør. 6. okt. 2018 kl. 15.50 skrev Christoph M. Becker <cmbecker69@gmx.de>:
>
>> ext/dba still supports Berkeley DB 2 and 3, and offers an emulation
>> layer for version 1 databases. However, Berkeley DB 4 has been released
>> in 2001, and Berkeley DB 3.3.11, the final release of the 3.XX
>> versions[1], has been released on 2001-07-12. It doesn't seem to make
>> much sense to support these old version anymore.
>>
>> Unless I'm missing something, I suggest to drop support for Berkeley DB
>> < 4 as of PHP 7.4.0.
>>
>> [1]
>> <KË Ý•�VówÒ"ß
>> „Ohttps://www.oracle.com/technetwork/products/berkeleydb/downloads/index-082944.html>
>
> I think this is generally a good idea to look at such. Perhaps we
> should do a larger, collective effort to get an idea of what things we
> support that is way outdated and such and up our requirements at the
> same time. There seems to have been a trend in that direction in the
> past year or so and I think its way overdue that we begin to remove
> crufts like that.
ACK.
The PHP manual says[1] that
dbm is discouraged, and ndbm is
deprecated, so dropping support for these *might* be reasonable.
cdb(_make) support is something we might want to investigate.
[1] <http://php.net/manual/en/dba.requirements.php>
--
Christoph M. Becker