I know this question has probably been asked seventeen thousand times, and for that I’m sorry!
But what version of PHP and MySQL does Dreamhost have installed and running?
It depends. Right now, PHP 4.3.10 and MySQL 4.1.11; however, it is possible to choose a recent version of PHP 5 in the domain setup.
Keystone Websites | si-blog