?
Solved

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

Posted on 2010-09-03
2
Medium Priority
?
440 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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.
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

609 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