RE: [PHP] error_reporting qestion.
| From: | Christopher Thompson | Date: | Thu, 14 Sep 2000 23:01:44 +0000 |
| Subject: | RE: [PHP] error_reporting qestion. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16853@lists.php.net to get a copy of this message | ||
I have had similar problems (PHP4.01p2). I changed my error setting in
php.ini and error messages disappeared. I changed the settings many ways,
but no luck. I have since deleted all lines that configure error messages in
php.ini, but still get no error messages. If there is an error all I get is
a skeleton HTML document. I have display_errors=On and have tried both
error_reporting=7 or error_reporting=E_ALL & ~E_NOTICE, plus many other
combinations.
> -----Original Message-----
> From: robert.cummings@webmotion.com
> [mailto:robert.cummings@webmotion.com]
> Sent: Thursday, September 14, 2000 2:42 PM
> To: php-general@lists.php.net; php-dev@lists.php.net
> Subject: [PHP] error_reporting qestion.
>
>
>
> Hi,
>
> I use Apache and I like to set the error reporting level in the
> http.conf file. I have the following line
>
> php_admin_value error_reporting E_ALL
>
> which doesn't seem to work at all since even a parse error
> does not produce an error message. Is it the case that error
> level macros are not supported when set in the apache
> configuration file?
>
> Another question (sorry :) is that the PHP documentation indicates
> that E_ALL is supposed to set all error reporting levels on but
> a comment further indicates that only the first 4 error levels are
> turned on by E_ALL, could someone clarify please?
>
> Thanks in advance,
>
> Rob.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>