php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #72560 --enable-dbase configure option no longer works
Submitted: 2016-07-07 23:01 UTC Modified: 2016-07-10 14:28 UTC
From: iansltx at gmail dot com Assigned: cmb (profile)
Status: Closed Package: *Database Functions
PHP Version: 7.0.8 OS: Linux x64
Private report: No CVE-ID: None
 [2016-07-07 23:01 UTC] iansltx at gmail dot com
Description:
------------
It's stated in the manual that PHP 7 supports dbase, provided you add the --enable-dbase flag to compile-time config. That flag doesn't work. So either dbase functionality no longer exists in the runtime or it's behind a different flag. Either way, the docs lie :(

---
From manual page: http://www.php.net/dbase.setup
---


Expected result:
----------------
--enable-dbase allows PHP to support dbase-related functions

Actual result:
--------------
configure: WARNING: unrecognized options: --enable-dbase

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-07-07 23:31 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2016-07-07 23:31 UTC] cmb@php.net
> So either dbase functionality no longer exists in the runtime […]

Actually, dbase has been moved to PECL.
 [2016-07-07 23:47 UTC] iansltx at gmail dot com
Yep, so the docs should reflect that. Except the version that's in PECL right now doesn't work with 7.0+. Though I just pulled down https://github.com/mote0230/dbase-pecl-php7 and will report back on whether it works properly.
 [2016-07-10 14:15 UTC] cmb@php.net
> Except the version that's in PECL right now doesn't work with 7.0+.

There has been a commit to the repo[1], which says:

| Update code for PHP7 compatibility by Tom Adams

Can you please verify whether it works?

[1] <http://svn.php.net/viewvc?view=revision&revision=338472>
 [2016-07-10 14:27 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=339640
Log: Fix #72560: --enable-dbase configure option no longer works
 [2016-07-10 14:28 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2016-07-10 14:28 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon May 27 01:01:25 2019 UTC