[Phpwm] Switch off errors to screen - apache
Shaun Hare
shaun_hare at yahoo.co.uk
Tue Nov 11 11:01:26 UTC 2008
Hi
Use ini_set("display_errors","on")
And then error_reporting(E_ALL)
Or what level you want
At start of script
Regards
Shaun
On 11 Nov 2008, at 10:55, gary denham <gary at dunns.co.uk> wrote:
Thanks, I tracked down the php settings in the php.ini file and switched
them off, most our work is internal where its useful for us to see the
errors, is there a way of switching error reporting back on at page level?
Gary
Dave Holmes wrote:
Are you talking about PHP errors or HTTP errors and the apache error
pages?
If it's PHP look for these settings in your ini file
error_reporting
display_errors
You will need to restart apache
gary denham wrote:
Hi
We need to switch off error reporting to screen on our apache web server
can anyone know how to do this.
Regards
Gary
------------------------------------------------------------------------
_______________________________________________
Phpwm mailing list
Phpwm at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/phpwm
--
DISCLAIMER:
This document originates from within Dunns Imaging Group Limited.
This message, together with any associated files, is intended only for
the use of the individual or entity to which it is addressed and may
contain information that is confidential, subject to copyright or
constitutes a trade secret. If you are not the intended recipient of
this communication you are hereby notified that any dissemination,
copying or distribution of this message, or of any files associated with
this message, is strictly prohibited.
If you have received this message in error, please notify us at once.
Dunns Imaging Group Ltd.
Registered Office: Chester Road Cradley Heath West Midlands B64 6AA.
Tel: 01384 564770
Registered in England 598527.
_______________________________________________
Phpwm mailing list
Phpwm at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/phpwm
More information about the Phpwm
mailing list