Linux – How to verify GD and Freetype support

linuxpackagesUbuntuWordpress

I'm running a server with ubuntu 9.10.

I'm trying to enable captcha support for our wordpress blog contact form and the instructions say that I'll need to "verify that PHP has GD support and Freetype support compiled in"

How can I verify this?

Additional information here: http://wordpress.org/support/topic/323395

-M

Best Answer

In command line:

GD Support:

$ php -i | grep "GD "
(keep the space, it's necessary)

FreeType Support:

$ php -i | grep "FreeType"