re: [PHP-DEV] patch to make for better shell scripting

From: Date: Fri, 07 Sep 2001 02:59:59 +0000
Subject: re: [PHP-DEV] patch to make for better shell scripting
Groups: php.dev 
Request: Send a blank email to php-dev+get-65322@lists.php.net to get a copy of this message
Addressed to: php-dev@lists.php.net
              "Brian Moon" <brianm@dealnews.com>

> Well, here is my patch finally for enabling a shell mode with the
> command line.

> Mainly this patch adds a -S option that will turn off html errors,
> error_prepend_string, error_append_string, and output buffering.

> This will keep people from having to maintain two ini files.


Please consider adding the function of

   set_time_limit( 0 );

to the -S option, usually when I run PHP from the command line I am not
worried about how long it takes to run.  Long running programs are one
of the common reasons for running PHP from the command line.  If you
want a command line script to time out you can set the time limit in
your program.


Thanks,
Rick



Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com


Thread (9 messages)

« previous php.dev (#65322) next »