this is the command you need:

rpm -q php-gd



after you send this command you should see something like this:

php-gd-5.1.4-1