Re: [PHP] Command-line PHP memory limit

2008-06-12 Thread Shawn McKenzie
Per Jessen wrote: Rene Fournier wrote: Is it possible to set a unique memory limit for PHP scripts that are run from the command line? (That is, different from what's specified in php.ini.) This might specific to openSUSE, but the typical installation comes with separate php.inis for apache

RE: [PHP] Command-line PHP memory limit

2008-06-12 Thread Boyd, Todd M.
-Original Message- From: Shawn McKenzie [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 11:06 AM To: php-general@lists.php.net Subject: Re: [PHP] Command-line PHP memory limit Per Jessen wrote: Rene Fournier wrote: Is it possible to set a unique memory limit for PHP

[PHP] Command-line PHP memory limit

2008-06-11 Thread Rene Fournier
Is it possible to set a unique memory limit for PHP scripts that are run from the command line? (That is, different from what's specified in php.ini.) ...Rene

Re: [PHP] Command-line PHP memory limit

2008-06-11 Thread Robert Cummings
On Wed, 2008-06-11 at 23:48 +0200, Rene Fournier wrote: Is it possible to set a unique memory limit for PHP scripts that are run from the command line? (That is, different from what's specified in php.ini.) In your script: ini_set( 'memory_limit', -1 ); Cheers, Rob. --

Re: [PHP] Command-line PHP memory limit

2008-06-11 Thread Per Jessen
Rene Fournier wrote: Is it possible to set a unique memory limit for PHP scripts that are run from the command line? (That is, different from what's specified in php.ini.) This might specific to openSUSE, but the typical installation comes with separate php.inis for apache and cli.