Page 1 of 1

print erros when STDOUT

Posted: Tue Jan 29, 2008 11:39 am
by raptoni
Hi

My hostingprovider set display_erros to STDOUT.

How can print erros anyway, when executing the script?

I cant change the settings. Allready tried.

thx raphi

Re: print erros when STDOUT

Posted: Wed Jan 30, 2008 1:17 am
by iacataca
raptoni wrote:Hi

My hostingprovider set display_erros to STDOUT.

How can print erros anyway, when executing the script?

I cant change the settings. Allready tried.

thx raphi
What exactly did you try?

Re: print erros when STDOUT

Posted: Wed Jan 30, 2008 9:58 am
by pickle
You might still be able to set your own error handler as default - in that error handler you can output the errors.

Re: print erros when STDOUT

Posted: Wed Jan 30, 2008 12:34 pm
by raptoni
I tried to reset display erros with ini_set and .htacces.

What happens with the errors if STDOUT ist set. The PHP Manual doesnt say much.
For what i unterstood it is a var. There must be a way to print them otherwhise u could also write display_errors off.

thx raphi

Re: print erros when STDOUT

Posted: Fri Feb 01, 2008 5:29 am
by raptoni
Nobody has an answer?

Re: print erros when STDOUT

Posted: Fri Feb 01, 2008 9:37 am
by pickle
Did you try set_error_handler()?