Read dbase in PHP

2

In the company has a software in Clipper, which saves the information in dbase (database_dados.dbf), now there is a need to integrate it with PHP, but I can not use the dbase functions. I have already enabled extension=dbase.dll in php.ini, I downloaded the dll from the following link and placed in the ext folder. But it still gives the following error: Call to undefined function dbase_open() .

I'm using Xampp with PHP version 5.5.11.

Any help?

    
asked by anonymous 02.06.2015 / 18:55

1 answer

3

The version of the extension you downloaded should be incompatible with the installed version of PHP. The extension must be thread-safe and your PHP version does not, or vice versa , which causes the error mentioned by you:

Run phpinfo and check whether your version is thread-safe :

Dependingontheversionandarchitecture,downloadthecorrect link mentioned in the question.

If you have already put the extension=php_dbase.dll line in the php.ini file, simply restart the server and try again:

    
02.06.2015 / 20:44