tell more on a 500 error

Posted on 2011-09-04
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
Question by:rgb192
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

Accepted Solution

boon86 earned 167 total points
ID: 36480215
LVL 17

Assisted Solution

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:

Assisted Solution

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

        <customErrors mode="Off"/>
        <compilation debug="true"/>

Open in new window

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

ini_set('display_errors', 1);

Open in new window


Author Closing Comment

ID: 36518568

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
e commerce steps shown instead of self testing 2 55
history of pages 7 50
Restore scheduled tasks from a backup 5 42
Ransomware case 23 100
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

737 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