How can i install/setup the SOAP extension of PHP

Need to install the SOAP extension of PHP [1].

on my machine it is necessary to follow four steps:

  1. be able to access the folder and the PHP module configuration files
  2. the source code and the PHP Compiler be on same version
  3. Run ./Configure passing --enable-soap=shared and build only
    that module.
  4. Then just copy the to the folder of PHP extensions

so, the question is: how can i do this on dreamhost webserver?