ensure ext-gd is present