[support] PHP memory error

Gordon Heydon gordon at heydon.com.au
Fri Sep 21 22:32:38 UTC 2012


Hi

If you do a php -i it will tell you which one you are using.

Generally on my dev machine or machines which have a separate php.ini for
the cli version I either make the memory limit unlimited or very large

Gordon

Sent from my iPhone

On 22/09/2012, at 8:20 AM, Anthony <tony at tony-mac.com> wrote:

I am getting this error in Drush everytime I try to update core:
*Drush command terminated abnormally due to an unrecoverable error.
[error]
Error: Allowed memory size of 67108864 bytes exhausted (tried to
allocate 83 bytes) in
/home3/tonymacc/drush/commands/core/sitealias.drush.inc, line 46
*
I have checked the php.inis I can find, not knowing which one is pulling
(only 2 actually), and they both have a line about php memory.

php.ini at home3/tonymacc  has only two lines
*php_value memory_limit = "128M"
magic_quotes_gpc off
*
php.ini at home3/tonymacc/public_html  has a full blown php.ini with the
line:
*php_value memory_limit = "128M".*

Is the error message referring to the php memory or something else?

Thanks
Tony



-- 

*Anthony Stefan Maciejowski*



-- 
[ Drupal support list | http://lists.drupal.org/ ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120922/ed6fe04a/attachment-0001.html 


More information about the support mailing list