For all the people who've:
- registered the sizes in their functions.php
- set them in a callback for after_setup_theme with the add_action function
- installed Regenerate Thumbnails
- installed php5_gd and restarted the server
You may have to manually configure the loading of the extension, if it wasn't for you.
First, check if GD is actually enabled as an extension. Run this snippet in a .php file on the browser to find out:
<?php if (extension_loaded('gd'))
{
echo "gd loaded";
} else {
echo "not loaded";
} ?>
If it comes up with "not loaded", the solution found was adding the line:
extension=gd.so
to the apache2/php.iniphp.ini
file.