STDERR round 2
| From: | Vidyut Luther | Date: | Thu, 14 Sep 2000 23:10:59 +0000 |
| Subject: | STDERR round 2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16859@lists.php.net to get a copy of this message | ||
Ok I'm stupid, I figured out how to do the STDERR thing, basically
I said error_log($sql);
and it printed to the apache error_log, but.. now how do I get it to print
to say php_error_log, I had asked this question yesterday.. but no one
responded.. woe is me :(.
Vidyut Luther
we are the aol, lower your firewalls and prepare to install.
we will add *our* technological distinctivness to your own.
Uninstallation is futile!
On Thu, 14 Sep 2000, Lars Torben Wilson wrote:
> Robert Cummings writes:
> >
> > 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?
>
> AFAIK, that is indeed the case; you can only use them inside php.ini
> and in PHP code. Use the numeric value there instead.
>
> (n.b.--they're not really macros, just named constants; you can't do a
> lot of macro-type things with them.)
>
> > 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.
>
> Note the distinction between PHP 3 and PHP 4. PHP 3 only has the first
> four error levels, so only they can be turned on by E_ALL. PHP 4 has
> many more, and all are turned on by E_ALL.
>
>
> --
> +----------------------------------------------------------------+
> |Torben Wilson <torben@php.net> Netmill iTech|
> |http://www.coastnet.com/~torben
> http://www.netmill.fi|
> |Ph: 1 250 383-9735 torben@netmill.fi|
> +----------------------------------------------------------------+
>
> --
> 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
>