1

I am trying to setup PHP to log errors locally so that I can solve this problem.

However, I can't even get this to work. I have followed this tutorial, but nothing. Does it only log fatal errors or what?

Is there anything else I need to make sure of?

3
  • Please don't re-ask the same question - you can edit the earlier version ( stackoverflow.com/questions/1964641/… ) Commented Dec 26, 2009 at 23:39
  • I wasn't re-asking, that was accidental. I am only aware of it now. Commented Dec 26, 2009 at 23:40
  • I have voted to delete the other. Commented Dec 26, 2009 at 23:41

1 Answer 1

1

need these settings:

log_errors = on

error_reporting = E_ALL

if you want to set these in .htaccess, you can do somn like:

php_value log_errors 1

php_value error_reporting 6143

Sign up to request clarification or add additional context in comments.

1 Comment

Ok, the htacess has worked for me. I will just have to use this! Thanks. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.