The php.ini that is being used by the Apache invocation of PHP is probably a different one than what you are making changes to.
Create a .php file in your Apache root document folder, with the following code and browse to it -
. Near the start of the page that is output, find the Configuration File (php.ini) Path
and make sure the php.ini that is listed is where you are enabling the GD extension.