Credit to Zenware for this solution

In the later PHP versions (in this example, 5.3.8), the dBase extension is not included by default. You need to compile it from source.  Zenware’s blog post took a bit of searching to find, so I’m hoping an extra post about it will make the search faster for the next admin. These instructions (while vague) will be on an Open Suse 12.1, x64 system.  These instructions can also be generalized for compiling any PHP extension from source.

  1. Using yast (or zypper), make sure you have the following packages installed:
    • PHP5-Devel
    • GCC
    • (may not be required, but specific to later versions of dBase): PHP5-PEAR
  2. Download the dBase (or other extension) source files.  dBase link (I am using 5.1.0)
  3. Extract it using “tar -xf file.tar
  4. Navigate to the newly extracted directory
  5. Run the following commands
    • phpize
    • ./configure
    • make
  6. Copy the resulting .so file in the modules directory to your PHP extensions directory (on a default 64 bit system, this might be /usr/lib64/php5/extensions). For 32 bit: /usr/lib/php5/extensions
  7. Add the following line to your php.ini (may be located in /etc/php5/apache2/php.ini)
    • extension=dBase.so
  8. Restart apache (/etc/init.d/apache2 restart)