You are here: Re: [PHP] Php is not writing errors in logfile « PHP « IT news, forums, messages
Re: [PHP] Php is not writing errors in logfile

Posted by Skippy on 10/16/39 11:28

Quoting Jacob Friis Saxberg <webcom.dk@gmail.com>:

> I have asked Php to log errors in a file but it doesn't.
>
> error_reporting = E_ALL
> display_errors = Off
> log_errors = On
> error_log = /var/log/php-errors.log
>
> Any idea what's wrong?

Maybe that's not the right php.ini. Look at phpinfo(). Or the user that the
webserver runs as doesn't have the right to access the logfile.

--
Romanian Web Developers - http://ROWD.ORG

 

Navigation:

[Reply to this 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

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