I regularly get calls from clients who want a new WordPress site, but are not sure if their hosting company supports it or has all the features WordPress needs.
This is why I wrote a neat little script, that checks the server for core WordPress requirements. In addition to that it also checks for some of the extra features that will make WordPress function more friendly, like checking for mod_rewrite (WordPress uses it to create pretty permalinks), and checking for the GD library (to resize images on the fly).
Below you can see the source of the script (download link at the bottom of the source):
In addition to this you can download the complete file over here, or fork it to create your own version:WordPress Server Check @ Github