Re: display_errors stdout not working in a .htaccess file [message #170576 is a reply to message #170573] |
Mon, 08 November 2010 22:02 |
Thomas Mlynarczyk
Messages: 131 Registered: September 2010
Karma:
|
Senior Member |
|
|
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;
Check the output of phpinfo():
- does display_errors have the expected value there?
- what's the value of error_reporting?
And does PHP run as an Apache module or (Fast)CGI? In the latter case,
you cannot set php directives in .htaccess.
Greetings,
Thomas
--
Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)
|
|
|