I do not know how to do this:
Use the default Dreamhost php configuration
and remove a custom configuration.
After upgrading PHP 5.3.5 Mysql is not connecting.
If you set up a custom config, then you needed to make changes to the handler part of your .htaccess file. Take those bits out or revert it back to what it was and you should be back to DH’s original.