Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004
    Posts
    96

    Unanswered: How can I see detailed PHP errors (500) on IIS

    Hello,
    I am new to PHP (coming from ASP), I have installed PHP on my local machine for testing purposes but i see detailed server errors, all I get is the IIS custom page or a non detailed message.

    Here is what I have and have done:

    -Windows vista with IIS 7, have turned on CGI and instal PHP 5.3
    -I have renamed php.ini-development to php.ini (and made a copy)
    -Checked that the variable display_errors is set to On
    -Went to the site on IIS, went to the error pages and set the error responses to detailed error. Restarted IIS

    i have done pretty much any thing i have found on forums but no luck.

    Would anyone know what to do at this stage?

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    you may also need to set the error_reporting level
    PHP: Runtime Configuration - Manual

    also have a tral through this google search
    Google
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Aug 2004
    Posts
    96
    you may also need to set the error_reporting level
    PHP: Runtime Configuration - Manual

    also have a tral through this google search
    Google
    After spending some more time on the various info there i still could not get it to work.
    So i pend more time looking at the phpinfo to notice the problem.
    I had created a folder C:\php where i unzipped the files and used the windows install to install PHP. i used all default settings and the instal was actually done in c:\program files\php so the php.ini i was modifying was not actually the one influencing the actual script. I uninstalled and reinstalled in the proper folder and it is now working. Left me feeling a little dumb of course, but at least it is working now!!

    Thanks for your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •