Reply to Re: PHP log errors

Your name:

Reply:


Posted by Rik Wasmus on 12/30/07 16:53

On Sun, 30 Dec 2007 11:45:35 +0100, twomt <no-reply@nemesiswar.net> wrot=
e:
> I am logging errors into a phperrors.log file and not anymore display =
=

> them through the browser.

A very wise descision.

> Only problem I have now is that it does not show errors generated by p=
hp =

> scripts called from the browser, but only by those that are executed =

> from the command line or through cron.
>
> Does anyone have an idea if I am doing something wrong here?
>
> display_errors =3D Off
>
> log_errors =3D On
> error_log =3D /home/user/domain/public_html/phperrors.log

Possibly the cli and the webserver use a different php.ini. What does a =
=

phpinfo() in both tell you? And if not, has the webserver write privilig=
es =

to your logfile?
-- =

Rik Wasmus

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация