在XAMPP中安装dBase扩展 [英] Installing dBase extension in XAMPP
问题描述
我在使用PHP 5.5.11的XAMPP中安装dBase扩展时遇到问题.
我将php_dbase.dll
添加到php/ext文件夹,并将以下行添加到php.ini
文件:
I have a problem with installing dBase extension in XAMPP with PHP 5.5.11.
I added php_dbase.dll
to php/ext folder and added following line to the php.ini
file:
extension=php_dbase.dll
但是当我在脚本中尝试以下代码时:
But when I try this code in my script:
dbase_open('file.dbf');
我收到一条错误消息:
调用未定义函数dbase_open()'
Call to undefined function dbase_open()'
如何正确安装dBase
扩展程序?
How to properly install dBase
extension?
推荐答案
尝试使用此链接: http://pecl.php.net/package/dbase/5.1.0/windows
就我而言,我有: XAMPP 1.8.3 [PHP:5.5.15]
In my case i have: XAMPP 1.8.3 [PHP: 5.5.15]
我使用: php_dbase-5.1.0-5.5-ts-vc11-x86.zip
And i use: php_dbase-5.1.0-5.5-ts-vc11-x86.zip
为您的PHP Windows环境下载正确的版本.
Download the correct version for your PHP windows environmet.
此致
这篇关于在XAMPP中安装dBase扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!