add checkPHPGDExtension