Solved

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

Posted on 2010-09-03
2
434 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
WebSite Direction 1 41
mysqli_query() expects parameter 1 to be msqli, string given in 4 34
Cookie not unsetting 7 19
PHP Query return divisible by 3 3 17
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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 …

773 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