Backend Development

How do I get PHP errors to display?

Submitted by BURST, , Thread ID: 106921

Thread Closed
22-11-2018, 10:46 PM
#1
I have checked my

Code:
PHP ini

file and display errors is set and also error reporting is

Code:
E_ALL

. I have restarted my Apache web server.

I have even put these lines at the top of my script, and it doesn't even catch simple parse errors. For example, I declare variables with a
Code:
"$"

and I don't close statements

Code:
";"

. But all my scripts show a blank page on these errors, but I want to actually see theerrorsin my browser output.



Code:
error_reporting(E_ALL);
ini_set('display_errors', 1);


What is left to do?
[Image: e72398fe92beda2aa80d0329e8b9f4febece7568.gif]

RE: How do I get PHP errors to display?

#2
Did you try to modify php.ini on this line of code:
Code:
display_errors = on

RE: How do I get PHP errors to display?

#3
"HOW DO I GET PHP ERRORS TO DISPLAY?" idk
;-; ;-;

RE: How do I get PHP errors to display?

#4
to get them to display idk maybe google it or something

Users browsing this thread: 1 Guest(s)