note 85024 added to function.error-reporting

From: Date: Mon, 11 Aug 2008 16:12:30 +0000
Subject: note 85024 added to function.error-reporting
Groups: php.notes 
Request: Send a blank email to php-notes+get-143370@lists.php.net to get a copy of this message
My ISP just upgraded from PHP version 4 to version 5 (without warning). Following the upgrade (which took them 3 days, during which time my site was useless!), I noticed that error messages were being displayed in the browser. In fact, they weren't even error messages, they were just warning messages. It doesn't look very good. Anyway, I asked my ISP to switch error reporting off, and this is the response I got: "Unfortunately for both security and performance reasons it is not possible to change server settings, apologies for any inconvenience. Error reporting is set to on as standard on PHP5 and unfortunately this cannot be edited on the server." Is this true or are they fobbing me off? I find it very surprising. Therefore I now need to set error reporting to "off" at runtime in my scripts. I realise I should do this anyway, to make my site more robust, but I'd rather they switched it off so that I can do this in my own time. ---- Server IP: 92.48.74.199 Probable Submitter: 82.211.73.34 ---- Manual Page -- http://www.php.net/manual/en/function.error-reporting.php Edit -- https://master.php.net/note/edit/85024 Del: integrated -- https://master.php.net/note/delete/85024/integrated Del: useless -- https://master.php.net/note/delete/85024/useless Del: bad code -- https://master.php.net/note/delete/85024/bad+code Del: spam -- https://master.php.net/note/delete/85024/spam Del: non-english -- https://master.php.net/note/delete/85024/non-english Del: in docs -- https://master.php.net/note/delete/85024/in+docs Del: other reasons-- https://master.php.net/note/delete/85024 Reject -- https://master.php.net/note/reject/85024 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#143370) next »