There is no installation needed to use these functions; they are part of the PHP core. DOM support may be disabled with --disable-dom.