Solved

How do you disable internal server error when using PHP and IIS 7.0

Posted on 2010-09-03
2
435 Views
Last Modified: 2013-12-13
Whenever I hit a particular .php page on my local machine I keep getting "Internal Server Error".  Is there a way to disable this and force IIS to display the actual error message?
0
Comment
Question by:rawcoder
2 Comments
 
LVL 5

Expert Comment

by:Toster
ID: 33600240
I doubt it's possible. The best thing you can do is enable failed request error tracing and check it's log. It should contain the details.

http://learn.iis.net/page.aspx/266/troubleshooting-failed-requests-using-tracing-in-iis-7/
0
 
LVL 9

Accepted Solution

by:
shalabhsharma earned 500 total points
ID: 33603821
first yo have to disable friendly error message in your browser the after it will show the exact error message
disable friendly HTTP error messages in Internet Explorer

1.On the Tools menu in Internet Explorer, click Internet Options.

2.Click the Advanced tab.

3.In the list of options under Browsing, clear the Show friendly HTTP error messages check box.

4.Click Apply, and then click OK.
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

This article discusses how to create an extensible mechanism for linked drop downs.
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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.

856 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