6Apr/10Off
How to enable GD in PHP5 on Debian / Apache
Debian comes with a package called php5-gd.
Type the following to install this package.
apt-get install php5-gd
Restart Apache.
Done.
Try running "apt-get update" if you get the following error:
Err http://security.debian.org lenny/updates/main php5-gd 5.2.6.dfsg.1-1+lenny4
404 Not Found [IP: 130.89.149.225 80]
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-gd_5.2.6.dfsg.1-1+lenny4_i386.debĀ 404 Not Found [IP: 130.89.149.225 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?