没有找到 php 7 个数据库

Did not found php 7 dbase

我进行了大量研究以找到 php7 的 dbase dll,但我没有找到它。

有人找到了吗?或者你知道是否有办法从旧版本重建 dbase.dll 以制作新版本。

[15-Oct-2015 23:20:30 UTC] PHP Warning:  PHP Startup: dbase: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20141001
These options need to match
 in Unknown on line 0

在这个错误中我们可以看到模块是用模块20131226编译的,有没有办法拿它用新模块重建它?

谢谢大家

在撰写本文时,dbase 已经三年多没有更新了。

它没有为 PHP7 准备,似乎没有活跃的维护者,并且可能不可用。

您无法重建 DLL。

我在 github 上找到了这个。你可以试试。当我尝试时,没有错误,文件已创建。

https://github.com/mote0230/dbase-pecl-php7

PHP7 在 Windows 上的版本可从 https://pecl.php.net/package/dbase 获得。

如果 PHP 7.1 或 PHP 7.2 需要 php_dbase.dll,可以转到 https://github.com/nufue/pecl-dbase-windows

如果服务器上没有 dbase 扩展(可能是由于 php7 实现延迟),我找到了这个纯粹的 PHP 替换: https://github.com/donfbecker/php-dbase