how to install gd extension in php code example Example: how to get php ext-gd with [gd] extension=/path/to/gd.so # use the gd.so absolute path here