The most likely cause is that your PHP installation does not have GD. Check if the GD library is installed with php and install it if it is not.
Information about GD and instructions for installing it can be found on the PHP site at http://www.php.net/gd.