Author Topic

Nicolas Pastorino

Thursday 11 February 2010 2:48:50 am

Comment57033

Hi John,

depending on which OS you are running Exponential on, the php configuration may be split into to different files, one for module/cgi runtime, one for CLI runtime. Two solutions are at your disposal now :

  • Override the php-cli configuration for any CLI run (after having found the location of the configuration file; you should be able to see it by running, form the command line : php -i | grep -i 'Loaded Configuration File' )
  • Override the php-cli configuration on a per script basis, as proposed in Bruce's post. You should not worry about the memory used. You'd rather have a properly running script, maybe eating 2 or 3 additional MBs of RAM, than having a non-functional solution. You can first try to increase the memory_limit to 64MB. And then incrementally adjust this value of you spot new crashes.

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye