Installing dBase extension in XAMPP

匿名 (未验证) 提交于 2019-12-03 02:27:02

问题:

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'); 

I got an error message:

Call to undefined function dbase_open()'

How to properly install dBase extension?

回答1:

Try with this link: http://pecl.php.net/package/dbase/5.1.0/windows

In my case i have: XAMPP 1.8.3 [PHP: 5.5.15]

And i use: php_dbase-5.1.0-5.5-ts-vc11-x86.zip

Download the correct version for your PHP windows environmet.

Regards,



回答2:

You need to check in PHP directory is file php_gmp.dll enable and if it does, then in php.ini add this string in extensions section:

extension=php_gmp.dll 

For more info go here.



回答3:

You need to to check the php_dbase.dll is compatiable with your php version.

here i am using php 5.3.27 ThreadSafe version with vc9 and i downloaded the php_dbase-5.3-svn-20101022-vc9-x86.zip file from http://downloads.php.net/pierre/ and i did same all above you mentioned.

everything is working for me.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!