Re: suggestion php4/pear/Console/PHPINI.php
| From: | Stig S. Bakken | Date: | Wed, 01 May 2002 18:53:24 +0000 |
| Subject: | Re: suggestion php4/pear/Console/PHPINI.php | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5939@lists.php.net to get a copy of this message | ||
This will be dealt with in sapi/cli as of PHP 4.3. Most of the defaults
you suggest below have already been suggested on php-dev. I guess the
exception is implicit_flush and output_buffering. The installer actually
uses output buffering a few places.
My vote is for not messing with this in user space now, but wait for 4.3.
- Stig
On 30 Apr 2002, Tomas V.V.Cox wrote:
> Any interest on having this PHPINI.php file for fast adapt any php
> script for running under the console?
>
> Here are the contents:
>
> <?php
> error_reporting(E_ALL);
> ini_set('allow_url_fopen', true);
> ini_set('output_buffering', 0);
> ini_set('implicit_flush', true);
> ini_set('max_execution_time', 0);
> ini_set('track_errors', true);
> ini_set('html_errors', false);
> ini_set('warn_plus_overloading', true);
> ini_set('display_startup_errors', true);
> ini_set('display_errors', true);
> ini_set('allow_call_time_pass_reference', false);
> ini_set('short_open_tag', false);
> ?>
>
>
> Tomas V.V.Cox
>
>
>