How to display PHP errors in code output?

Viewed 42533

When executing a PHP page through browser , we will just get the output but not the errors in code.

how can i view the errors occurred by the code in the backend??

I am using the following in the code for error reporting..

error_reporting(E_ALL | E_ALL);
3 Answers

Inside your php.ini, set the display_errors to On:

display_errors = On

Then restart your web server.

Related