Error Reporting; PHP 4, Apache 1.3, Windows XP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Adam Siler

    Error Reporting; PHP 4, Apache 1.3, Windows XP

    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.


  • R. Rajesh Jeba Anbiah

    #2
    Re: Error Reporting; PHP 4, Apache 1.3, Windows XP

    "Adam Siler" <asiler@icglp.c om> wrote in message news:<MGehb.329 91$KJ5.10765@fe 2.columbus.rr.c om>...[color=blue]
    > 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");[/color]
    ^^^^^^^^^^^^^^^ ^
    "display_errors "---within quotes.
    [color=blue]
    > error_reporting (E_ALL);[/color]

    ---
    "Silence is the only right answer for many wrong questions" --
    G.K.Moopanaar, Indian Politician
    Email: rrjanbiah-at-Y!com

    Comment

    Working...