FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » display_errors stdout not working in a .htaccess file
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: display_errors stdout not working in a .htaccess file [message #170580 is a reply to message #170577] Mon, 08 November 2010 23:46 Go to previous messageGo to previous message
Jim Wigginton is currently offline  Jim Wigginton
Messages: 2
Registered: November 2010
Karma:
Junior Member
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

The former is the constant of E_ALL per <http://php.net/manual/en/
errorfunc.constants.php>. Neither work. phpinfo() says that the
local value of error_reporting is 0 whereas the master value is 30719
so I'm thinking that's the problem. I just don't know where
error_reporting is getting overwritten. The file I'm accessing is in
the exact same directory as the .htaccess file.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: freelancer looking for web-development projects
Next Topic: ANNOUNCE: NHI1-0.9, PLMK-1.7 und libmsgque-4.7
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 14:35:12 GMT 2024

Total time taken to generate the page: 0.03867 seconds