Requirements
This extension requires the libxml PHP extension. This means passing the --with-libxml, or prior to PHP 7.4 the --enable-libxml, configuration flag, although this is implicitly accomplished because libxml is enabled by default.
In order to use WDDX, you will need to install the expat library (which comes with Apache 1.3.7 or higher).