I am running a LAMP ubuntu server and I need to be able to read from a .dbf file. This can be done by installing the dbase extension into php. I currently have php 5.1.2 and have tried everything I can think of to enable dbase.

I have tried running ./configure --enable-dbase

I have copy/pasted the dbase.so into my extension library

I have modified the php.ini file to read the dbase.so extension

And I have made sure that I am modifing the correct directories by looking at phpinfo()

And I still get " Fatal error: Call to undefined function dbase_open() " when I try to open a .dbf file.

Any suggestions?

I'm wondering if I can just get the dbase class source code and just copy/paste into my .php file to "hardcode include" it. (if that makes sense)