Solved

tell more on a 500 error

Posted on 2011-09-04
4
390 Views
Last Modified: 2012-05-12
using php for windows
iis7 fastcgi

I remember using a browser and seeing the name of the fastcgi handler that I set
when I got a 500 error


what is this setting to tell more on a 500 error
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 7

Accepted Solution

by:
boon86 earned 167 total points
ID: 36480215
C:\inetpub\temp\php-errors.log
0
 
LVL 17

Assisted Solution

by:Rovastar
Rovastar earned 166 total points
ID: 36480364
A 500 http status code is a server side application error.

The error details are found by default in c:\inetpub\temp\php-errors.log as described above but the location is the error_log= parameter in the php config. That is if it is coming from php.

Enable failed request tracing in IIS7 for more info too:
http://technet.microsoft.com/en-us/library/cc725786(v=ws.10).aspx
http://learn.iis.net/page.aspx/266/troubleshooting-failed-requests-using-tracing-in-iis-7/
0
 
LVL 7

Assisted Solution

by:-sg-
-sg- earned 167 total points
ID: 36483635
Create a "Web.Config" file in your website's directory with the following contents:

<configuration>
    <system.web>
        <customErrors mode="Off"/>
        <compilation debug="true"/>
    </system.web>
</configuration>

Open in new window


If that still fails, in your PHP file, add the following lines:

ini_set('display_errors', 1);
error_reporting(-1);

Open in new window

0
 

Author Closing Comment

by:rgb192
ID: 36518568
thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
This article discusses how to implement server side field validation and display customized error messages to the client.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question