Re: cvs: php4 /sapi/cli php_cli.c
| From: | Moriyoshi Koizumi | Date: | Tue, 25 Mar 2003 09:21:20 +0000 |
| Subject: | Re: cvs: php4 /sapi/cli php_cli.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-19765@lists.php.net to get a copy of this message | ||
I found the cause of the problem, that mbstring doesn't use INI property
values themselves and it only updates the appropriate MBSTRG member
in the INI handlers. Any ideas?
Moriyoshi
marcus.boerger@t-online.de (Marcus Börger) wrote:
<snip>
> There must be something else (i tested all combinations before i committed)
> but did it again now and here are the results:
>
> [marcus@zaphod php4-HEAD]$ grep html_errors ~/php-cli.ini
> html_errors = On
> [marcus@zaphod php4-HEAD]$ php -r 'var_dump(ini_get("html_errors"));'
> string(1) "1"
> [marcus@zaphod php4-HEAD]$ php -d html_errors=0 -r
> 'var_dump(ini_get("html_errors"));'
> string(1) "0"
>
> [marcus@zaphod php4-HEAD]$ grep html_errors ~/php-cli.ini
> html_errors = Off
> [marcus@zaphod php4-HEAD]$ php -r 'var_dump(ini_get("html_errors"));'
> string(0) ""
> [marcus@zaphod php4-HEAD]$ php -d html_errors=1 -r
> 'var_dump(ini_get("html_errors"));'
> string(1) "1"
>
> [marcus@zaphod php4-HEAD]$ grep html_errors ~/php-cli.ini
> ;html_errors = Off
> [marcus@zaphod php4-HEAD]$ php -r 'var_dump(ini_get("html_errors"));'
> string(1) "1"
> [marcus@zaphod php4-HEAD]$ php -d html_errors=0 -r
> 'var_dump(ini_get("html_errors"));'
> string(1) "0"
>
> However you reminded me that i must change the default setting.
> marcus
>
>