Solved

tell more on a 500 error

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

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.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

726 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