note 74484 added to function.error-reporting
| From: | diez at hitflip dot de | Date: | Fri, 13 Apr 2007 10:28:45 +0000 |
| Subject: | note 74484 added to function.error-reporting | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125359@lists.php.net to get a copy of this message | ||
Configuring some of our development machines for php5 I made an little but stupid mistake.
I wanted our development hosts to display all errors using an conf or .htaccess file by the use of
this values:
php_flag display_errors on
php_flag display_startup_errors on
wrong:
php_value error_reporting "E_ALL"
or
php_value error_reporting E_ALL
But I didn't realize that the php constants can not be visible for the apache process so the
errors were not diplayed.
right:
php_value error_reporting 2047
So, one place you must and should use the numerical representation of one of the error level
constants is in your apache conf or .htaccess files
--
diez@hitflip.de
www.hitflip.de
----
Server IP: 212.124.37.9
Probable Submitter: 217.225.62.214
----
Manual Page -- http://www.php.net/manual/en/function.error-reporting.php
Edit -- https://master.php.net/note/edit/74484
Del: integrated -- https://master.php.net/note/delete/74484/integrated
Del: useless -- https://master.php.net/note/delete/74484/useless
Del: bad code -- https://master.php.net/note/delete/74484/bad+code
Del: spam -- https://master.php.net/note/delete/74484/spam
Del: non-english -- https://master.php.net/note/delete/74484/non-english
Del: in docs -- https://master.php.net/note/delete/74484/in+docs
Del: other reasons-- https://master.php.net/note/delete/74484
Reject -- https://master.php.net/note/reject/74484
Search -- https://master.php.net/manage/user-notes.php