The official word is to install a custom version of PHP, but many get by with the substantially simpler process of a custom PHP.ini file; however, both solutions are for experienced shell users, and not for the faint of heart. DreamHost will offer no support if things get all screwed up, so you must know what you are doing before you attempt it.
Decent content management systems should have no problem with the default php.ini settings.
si-blog | Keystone Websites
Save $97 on yearly plans with promo code [color=#CC0000]SCJESSEY97[/color]