Siamkia.com
Home arrow Tech arrow Info Tech Tips arrow How to view PHP error on Internet Explorer thru IIS Webserver?  
Wednesday, 08 February 2012
Google Search
Popular Links
Featured Links
Main Menu
Home
News
SEO
Business
Finance
Tech
Entertainment
Link Exchange
Sitemap
Contact Us
Web Author Application
Interested in Public Mutual? Contact Us...
Syndicate
Recommended Articles
Info Tech TipsHow to view PHP error on Internet Explorer thru IIS Webserver?

Monday, 15 December 2008 | Siamkia

Do you ever face HTTP 500 Internal Error without knowing the actual PHP error? This articles show you how to enable PHP to show PHP error on Internet Explorer thru IIS web server.
+ Full Story

Info Tech TipsHow to open two instance of Outlook in Window simultaneously?

Sunday, 28 December 2008 | Siamkia

If you have two profile in Microsoft Outlook, one for company mails while one for personal mails, in normal scenario, you will only able to open one profile in microsoft oulook at a point of time.If...
+ Full Story

Another Articles
How to view PHP error on Internet Explorer thru IIS Webserver? PDF Print E-mail
User Rating: / 1
PoorBest 
Written by Siamkia   
Monday, 15 December 2008

 

Do you ever receive HTTP 500 Internal Server Error when try to view your PHP file? Puzzling for the error that you see and does not know what is the actual error? 

For PHP, after you install it on your web server, by default, you will not able to see PHP error thru Internet Explorer directly. This is because PHP configuration was set to not displaying error on Web browsers by default to prevent exposure of security information. Keeping PHP configuration to display error on web browsers may reveal security information to end users, such as file paths on your Web server, your database schema or other information.Hence, if you are not debugging your web page on local machine, you are not recommended to enable PHP configuration to display errors on web browser.Make sure you only enable this function in your local machine only.

To enable this function, you need to open your PHP configuration file - php.ini. By default installation, it will be in c:\Program Files\php\.

After you open it, search for text 'display_errors'. By default, you will see the setting as following.

display_errors = off

To enable it, just change it to 'on' as following

display_errors = on.

Do not rush to refresh your HTTP 500 Internal Server Error page now, as you are required to restart your IIS to make this effective.

To restart IIS, go to Start > Run > key in iisreset and then enter it.

A command prompt screen will appear. Once it is done, you can refer your php page now.

 

 



Add this page to your favorite Social Bookmarking websites
Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! StumbleUpon! Yahoo! Free Joomla PHP extensions, software, information and tutorials.
Last Updated ( Monday, 15 December 2008 )
 
< Prev   Next >
Links
Finance News
Webdesign by Webmedie.dk Ny hjemmeside