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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: iansltx at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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.
 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=7e4b87a0ce1eec5835c928fb10327ab1f4c26a79
Log: Fix #72560: --enable-dbase configure option no longer works
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC