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
Solved

tell more on a 500 error

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article discusses how to create an extensible mechanism for linked drop downs.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

808 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