Re: display_errors stdout not working in a .htaccess file [message #170610 is a reply to message #170580] |
Tue, 09 November 2010 23:13 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 08/11/10 23:46, Jim Wigginton wrote:
> On Nov 8, 5:08 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> On 11/8/2010 4:35 PM, yawnmoth wrote:
>>
>>> I have a .htaccess file that contains only one line:
>>
>>> php_flag display_errors on
>>
>>> Only problem: Errors aren't being displayed as I'd expect. Any ideas
>>> as to why? Is there some setting in httpd.conf that can be used to
>>> prevent errors from displaying?
>>
>> What about error_reporting?
>
> I've tried setting error_reporting with the following:
>
> php_flag error_reporting 30719
> php_flag error_reporting E_ALL
You can't use the constants in .htaccess, you have to use the numeric
values. Also, php_flag is used for booleans. What you want is possibly:
php_value error_reporting 30719
Rgds
Denis McMahon
|
|
|