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 #170579 is a reply to message #170576] Mon, 08 November 2010 23:43 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, 4:02 pm, Thomas Mlynarczyk <tho...@mlynarczyk-webdesign.de>
wrote:
> yawnmoth schrieb:
>
>> 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.
>
> // Does this produce error output?
> ini_set( 'display_errors', 1 );
> error_reporting( E_ALL | E_STRICT );
> echo $noSuchVar;

That does indeed yield an error.

> Check the output of phpinfo():
> - does display_errors have the expected value there?

The local value is on wheras the master value is off.

> - what's the value of error_reporting?

Local value is 0, master value is 30711.

> And does PHP run as an Apache module or (Fast)CGI? In the latter case,
> you cannot set php directives in .htaccess.

The server API is "Apache 2.0 Handler". I assume that's an Apache
module.
[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: Sun Nov 24 17:05:04 GMT 2024

Total time taken to generate the page: 0.04027 seconds