RE: Command-line PHP memory limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Shawn McKenzie [mailto:nospam@xxxxxxxxxxxxx]
> Sent: Thursday, June 12, 2008 11:06 AM
> To: php-general@xxxxxxxxxxxxx
> Subject: Re:  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





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux