i recently upgraded from Windows 2000 to Windows XP and now i can't seem to
get error reporting to work in PHP. i don't know if i've simply forgotten
how to do it, or if there's a bug associated with XP, but i absolutely
cannot get PHP to display any errors in my browser. it's driving me nuts.
i was able to do it under 2000. i remember having to add a line or two of
code to the top of each page for which i wanted to display errors.
here's what i'm trying right now and it's just not working:
ini_set(display _errors, "1");
error_reporting (E_ALL);
the only output i get is a little bit of HTML with no text in the body. what
am i doing wrong?
P.S. i develop on multiple machines, so i can't just modify PHP.ini. the
code has to be portable.
get error reporting to work in PHP. i don't know if i've simply forgotten
how to do it, or if there's a bug associated with XP, but i absolutely
cannot get PHP to display any errors in my browser. it's driving me nuts.
i was able to do it under 2000. i remember having to add a line or two of
code to the top of each page for which i wanted to display errors.
here's what i'm trying right now and it's just not working:
ini_set(display _errors, "1");
error_reporting (E_ALL);
the only output i get is a little bit of HTML with no text in the body. what
am i doing wrong?
P.S. i develop on multiple machines, so i can't just modify PHP.ini. the
code has to be portable.
Comment