Life becomes a little easier if your webserver supports PHP. If you don't know if your sever supports PHP, or don't know the version, create a file on your server called phpinfo.php and paste the following into the file:
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>
Save the file and then navigate to your newly created page in your browser:
http://mysweetwebserver.com/phpinfo.phpIf you have php installed, you'll see something like this:
Notice the big fat text at the top telling you your PHP version.
If you don't have PHP, you'll just see your page code and no output.
Finally,
delete the phpinfo.php file from your server when you're done.