Most likely the GD Library is not enabled on the php server. If this is a local server, see the learning resources page for a tutorial on enabling the GD library:
resources.php?utm_campaign=Forum_header&utm_medium=Forums&utm_source=WebAssistForums
if it is a remote server, you will need to contact the host to have them enable the GD library for you.