You have to configurate the extension for windows php_db.dll in the php.ini
....
; Directory in which the loadable extensions (modules) reside.
extension_dir = c:\foxserv\php\extensions
...
...
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;
extension=php_db.dll
...