How to make PHP show all errors again?!
Posted: Wed Jan 03, 2007 1:03 pm
Hello,
Before I changed to my own server PHP always showed all errors, also things like if I had forgotten a ; on one line it told me that something was wrong. Now, it just shows a bland page and I have to go though the whole script or guess.
I have added;
But it doesn't help, it still just shows blank pages when something is wrong. Isn't it possible to change something in the PHP config file or something else to make PHP show all errors?
Thanks in advance,
Best Regards
Oskar R
Before I changed to my own server PHP always showed all errors, also things like if I had forgotten a ; on one line it told me that something was wrong. Now, it just shows a bland page and I have to go though the whole script or guess.
I have added;
Code: Select all
error_reporting(E_ALL);
ini_set('display_errors', '1');Thanks in advance,
Best Regards
Oskar R