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
-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
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
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.
--
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.
5 matches
Mail list logo