You are lucky.
DH supports PHP 4 and PHP 5. You can switch between them easily via DH panel --> Domains --> Manage Domains --> Web Hosting --> Edit
DH uses MySQL 5.0.16 (at least on my server).
To check the setting on your server you can SSH to your server and type commands
$50 off and 3 free domains with code: [color=#CC0000]DH3[/color] Sign Up NOW or More Codes Here