OS and PHP version?

How do we know what OS and PHP versions we have running with dreamhost?

Not sure if you can check the Operating System, but to check your PHP Version, create a new PHP file, give it anyname.php and then type

<? phpinfo(); ?>

After that, access your file, and you’ll get some statistics of the PHP Version running on your server.