php: is gd library installed?

by prettyscripts on 2008-12-11 14:11:21 • Leave a comment »

php

to check if the server has gd library, if (extension_loaded("gd")) echo "yes!"; another way is to check any gd related function, eg if (function_exists("gd_info")) echo "yes!"; more »

Tags: gd, image, php

php: image manipulation

by prettyscripts on 2008-12-04 10:57:59 • Leave a comment »

phpunixcode

the gd image library provide functions to manipulate image files. on some installations, this does not come as default and needs to be installed. on fedora, the command is$ yum install php-gd on ubuntu, the command is$ sudo apt-get install php5… more »

Tags: fedora, gd, image, php, ubuntu