If you are running your own server, you have other options available depending on your operating system:
On Windows servers, php_gd2.dll is included in a standard PHP installation, but is not enabled by default. To enable it, uncomment the extension=php_gd2.dll line in your php.ini file (remove the # from the beginning of that line) and restart the PHP extension.
Linux distributions that have package managers can usually find easy installs. For example: yum install php-gd or apt-get install php5-gd Be sure to restart your web server daemon after installing the library.
Compile from source into PHP (meaning you’ll have to re-compile PHP).