add gd.so and imagick.so extension