Thank you for your reply.
The php_gd2.dll line is uncommented and the extension_dir is pointing to the directory where the extension are located.
However, imagecreate still creates an error.
I assume that I set the extensions directory correctly:
extension_dir = "c:\HTTPd\php\extensions\"