1

I have a problem with my PHP error_reporting. I have all the values for error_reporting and display_errors set in php.ini but my code still remains blank page until I add a line in php code :

error_reporting(E_ALL);

Only after adding this line in my code I can see errors, such as

Notice: Undefined index: id in C:\...\index.php on line 4

How do I change php.ini (or something else, perhaps?) to get the errors without adding this line?

1 Answer 1

1
  1. using phpinfo() verify the actual php.ini location
  2. restart web-server
Sign up to request clarification or add additional context in comments.

Comments

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.