Solved

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

Posted on 2010-09-03
2
431 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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.
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 …

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now