Installing dBase extension in XAMPP

user3740742 picture user3740742 · Jul 25, 2014 · Viewed 11.7k times · Source

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?

Answer

Luis Morales picture Luis Morales · Mar 7, 2015

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,