This is a post in reference to:
http://www.zenphoto.org/support/topic.php?id=69
I decided to put tsservos instructions in a new post to make it easier to find. I appended more detailed instructions on how to activate PHP5 in Dreamhost.
1) in the .htaccess change RewriteBase:
for instance, if you have Zenphoto installed in
"http://www.domain.com/zenphoto/"
and your RewriteBase is /zenphoto
remove the "/zenphoto"
2) In the Dreamhost control panel, set the domain to run PHP 5:
Go to the Domains > Manage Domains area
Under the Web Hosting Column click Edit
Select the PHP Version 5 option
3) Run setup.php; database tables should be created smoothly.
4) In the .htaccess set RewriteBase back to correct path:
/zenphoto
Hopefully this should work. Good Luck!