A lot of webhosts do not use PHP5, becasue it is rare that a script coded for PHP4 will function "out of the box" with PHP5...
You can find all of the info of your servers php config by uploading a file to your server and accessing it from the web...
phpinfo.php:
<?php phpinfo(); ?>