[Phpwm] Switch off errors to screen - apache

Andy Cowan andy at w4.co.uk
Tue Nov 11 10:58:10 UTC 2008


error_reporting(E_ALL);

http://uk2.php.net/error-reporting

A.

-----Original Message-----
From: phpwm-bounces at mailman.lug.org.uk [mailto:phpwm-bounces at mailman.lug.org.uk] On Behalf Of gary denham
Sent: 11 November 2008 10:55
To: dave at neteffekt.co.uk; West Midlands PHP User Group
Subject: Re: [Phpwm] Switch off errors to screen - apache

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