Gwyneth, thank you so much!
I really like DreamHost, and I didn’t want to change, but that damn error was driving me crazy! I switched to PHP 5.3 CGI and haven’t had a problem since.
For the record, I left Web Security on and I don’t use W3 Total Cache or Cloudflare.