RE: [PHP] Command-line PHP memory limit
| From: | Boyd, Todd M. | Date: | Thu, 12 Jun 2008 16:24:43 +0000 |
| Subject: | RE: [PHP] Command-line PHP memory limit | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275289@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Shawn McKenzie [mailto:nospam@mckenzies.net]
> 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 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.
> >
> > /etc/php5/cli/php.ini
> > /etc/php5/apache2/php.ini
> >
> >
> > /Per Jessen, Zürich
> >
>
> K/Ubuntu, I would assume Debian as well.
Correct. I am running Debian etch, and I have two separate php.ini files (automatically configured
as such)--one for Apache, one for command line.
Todd Boyd
Web Programmer