Did you restarted apache2 after installing php5-gd?
This could be just error of php not loading new configuration until restarted.
Did you restarted apache2 after installing php5-gd?
This could be just error of php not loading new configuration until restarted.