1.Get the Source code, Subversion, and Tools
sudo apt-get install shtool dpkg-dev subversion
2.Get the source for dbase extension
cd ~
mkdir php
cd php
sudo apt-get source php5
3. Get the dbase source from SVN
cd php5-5.x.x/ext/
mkdir dbase
svn co http://svn.php.net/repository/pecl/dbase/trunk dbase
4.Compile the Extension
cd dbase
phpize
./configure
make
5.Copy the extension
sudo cp modules/dbase.so /usr/lib/php5/20090626+lfs/
6.Configure the PHP
sudo vim /etc/php5/apache2/php.iniadding the line "extension=dbase.so" to the Section "Module Settings"
7.Restart Apache
sudo service apache2 restart