Re: CLI & max_execution_time
| From: | Kristian Köhntopp | Date: | Mon, 25 Mar 2002 09:45:04 +0000 |
| Subject: | Re: CLI & max_execution_time | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81750@lists.php.net to get a copy of this message | ||
Edin Kadribasic wrote:
> That's ok. Calling function to set it should still work though.
> We should really get started on the <IfModule ..>
> thing for php.ini.
Actually, no.
A SAPI version of PHP should get configuration values the way a
webserver does. It is running in the context of a webserver and
should be handling things as webbish as they come.
A CLI version of PHP is a kind of scripting shell at the same
level as awk, perl and other scripting languages are. It should
not behave webbish at all, but shelly instead. It should not
output a content type by default (automatic -q option), it should
read /etc/php.ini and $HOME/.php.ini.
Please get this right the first time you do it.
Kristian