You are here: error_log not working « PHP Programming Language « IT news, forums, messages
error_log not working

Posted by Erwin Moller on 01/09/06 15:21

Hi Group,

I cannot log errors for some reason.

Situation: PHP 5.0 ISAPI on W2000 IIS 5.0

In php.ini:

error_reporting = E_ALL
log_errors = On
error_log = C:\php\myerrorlog.log


From some script:
<?
echo 8/0;
?>

But my file stays empty.

To test if I had some permissionproblem:

error_log("testerror",3,"C"\php\myerrorlog.log");

But that worked: The text "testerror" appeared in the logfile.

What else could be wrong?

TIA

Regards,
Erwin Moller

 

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

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