A summary of situation: if you choose to run PHP5 in Dreamhost, you will not be able to use PEAR's DB package by default. In my last post, I said it is possible to just download the DB package and upload to your own site's directory to use.
However, from the help of Dreamhost team, there is a better way:
just include a line before you use DB:
and you're ready to go.