I\'m trying to put some graphics on a web page and at my prototype at the computer it\'s all working fine at the localhost. But now I uploaded the files to a server and I\'m hav
for any php version the command for ubuntu installation is
apt-get install php-gd
it will install the version that matches your php version, and it will be later updated with you php version.