Re: display_errors stdout not working in a .htaccess file [message #170607 is a reply to message #170603] |
Tue, 09 November 2010 20:35 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 11/9/2010 2:53 PM, Thomas Mlynarczyk wrote:
> Jerry Stuckle schrieb:
>> But your problem is that php_flag is just that - a flag, on or off.
>> What you need is php_value for error_reporting.
>
> Indeed. But I wonder what PHP will do if a "value" directive is set
> using php_flag? The OP wrote that the local value was 0 and the master
> 30711 (which excludes notices, btw. and would therefore not have shown
> any error in my example script). Could it be that
>
> php_flag error_reporting <non-flag-or-invalid-value>
>
> will have the same effect as
>
> php_value error_reporting 0
>
> instead of raising an error and/or keeping the master value?
>
> Greetings,
> Thomas
>
It will not set it to the correct value. Flag takes true/false on/off
only. Looks like it sets it to false (0)
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|