Solved

tell more on a 500 error

Posted on 2011-09-04
4
386 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
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now