我想设置PHP以在本地记录错误,以便我可以解决this problem。PHP:将错误记录到本地的日志文件
但是,我甚至无法得到这个工作。我跟着this tutorial,但没有。它只记录致命的错误或什么?
还有什么我需要确保的?如果要设置这些在.htaccess
log_errors =上
的error_reporting = E_ALL
,你可以做somn像:
我想设置PHP以在本地记录错误,以便我可以解决this problem。PHP:将错误记录到本地的日志文件
但是,我甚至无法得到这个工作。我跟着this tutorial,但没有。它只记录致命的错误或什么?
还有什么我需要确保的?如果要设置这些在.htaccess
log_errors =上
的error_reporting = E_ALL
,你可以做somn像:
请不要重新提出同样的问题 - 你可以编辑早期版本(http://stackoverflow.com/questions/1964641/php-log-errors-to-a-logile-locally) –
我没有再问那是偶然的。我现在只知道它。 – Abs
我已投票删除其他。 – Abs