php

Install php extension dbase

wget http://pecl.php.net/get/dbase-5.0.1.tgz
tar -xzf dbase-5.0.1.tgz
cd dbase-5.0.1
phpize
./configure
make
make install
Installing shared extensions: /usr/lib/php/extensions/no-debug-non-
zts-20100525/

/etc/php.ini

extension=dbase.so

Install xdebug on Mac OS

Download xdebug-2.2.3.tgz Unpack the downloaded file with

tar -xvzf xdebug-2.2.3.tgz

Run:

cd xdebug-2.2.3

Run:

phpize

Run:

./configure

Run:

make

Run:

cp modules/xdebug.so /usr/lib/php/extensions/no-debug-non-zts-20090626

Edit /etc/php.ini and add the lines

zend_extension = /usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
xdebug.remote_enable=1
xdebug.remote_port="9000"
xdebug.profiler_enable=1
xdebug.profiler_output_dir="/tmp/xdebug"