you probably don't have the GD module compiled into php, you need to recompile php with GD support, how you do that for your platform i don't know... should be something like --with-GD or some such thing... search google for: compile php with GD... and don't forget to re-add everything you compiled in php the first time too like mysql or others.