Drupal 6.x - PHP Memory Limit
When using image processing like image field and image cache you may need to increase your PHP memory limit in these two places:
1) .htaccess (in your root directory - where drupal is installed)
add to this section:
# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>Just above </IfModule>
The following code:
php_value post_max_size 24M
php_value upload_max_filesize 24M
php_value memory_limit 96M2) settings.php (in your sites/default/ directory)
Under the section:
/**
* PHP settings:
Add the following code:
ini_set('memory_limit', '96M');