how to install gd2 php code example
Example 1: instal phpgd2
sudo apt-get install php5-gd
Example 2: how to get php ext-gd with
[gd]
extension=/path/to/gd.so # use the gd.so absolute path here
sudo apt-get install php5-gd
[gd]
extension=/path/to/gd.so # use the gd.so absolute path here