PHP’s dbase extension allows you to work with .dbf files in PHP. After php 5.2, you can no longer compile php with dbase support, so here’s how you can add it to your php installation:
1. Download dbase: http://pecl.php.net/get/dbase
2. Extract and cd into.
3. sudo phpize
4. sudo ./configure && sudo make && sudo make install
5. Add extension=dbase.so to your php config and restart apache.
Done!
