Re: cvs: php4 /sapi/cli php_cli.c
| From: | (Marcus Börger) | Date: | Mon, 24 Mar 2003 19:28:08 +0000 |
| Subject: | Re: cvs: php4 /sapi/cli php_cli.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-19736@lists.php.net to get a copy of this message | ||
At 20:11 24.03.2003, Moriyoshi Koizumi wrote:
marcus.boerger@t-online.de (Marcus Börger) wrote: At 18:19 24.03.2003, Moriyoshi Koizumi wrote: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. marcusSorry for being a bit late, but this commit broke BC. I cannot override php.ini settings by -d options any more.Hm, not for me. [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" Try preparing a ini file that has html_errors directive and doing the same thing with that.