After installing the required expat library, compile PHP with --enable-wddx, and use --with-libexpat-dir for expat.
The Windows version of PHP has built-in support for this extension. You do not need to load any additional extensions in order to use these functions.