Building PHP on Windows will require three things
This is the hardest part of the PHP windows build system to set up and will take up a lot of space on your hard drive - you need to have several GB of space free.
setenv /x86 /xp /release
cd c:\php-sdk\bin\phpsdk_setvars.bat
bin\phpsdk_buildtree.bat php53dev
cd C:\php-sdk\php53dev\vc9\x86\php5.3-xyz
buildconf
configure --helpconfigure --disable-all --enable-cli --enable-$remains
(warning: some extensions need libraries, header files and helper apps, see libs, fetch the version you need and extra the archive in the deps directory, ie: c:\php-sdk\php53\vc9\x86\deps)
nmake
nmake snap
cd C:\php-sdk\php53dev\vc9\x86svn co http://svn.php.net/repository/pecl/dbase/trunk pecl/dbase
cd php5.3-xyz
buildconf
configure --help
should now contain a dbase option
configure --enable-cli --enable-dbase
nmake
php -m
command, to make sure dbase exists