<?php echo phpinfo(); ?>
Create a file with the above code, upload it as info.php, and view it in your web browser.
If you get a bunch of useful information, php is installed. Check the information listed to see if it is installed as an apache module or if MySQL is available.