Shazbot! Posted March 5, 2008 Share Posted March 5, 2008 I just install PHP 5 on WinXP IIS (ISAPI) So far everything is working fine with the exception of the error handling. in the php.ini file I have the following set. display_errors = On and I have tried: error_reporting = E_ALL error_reporting = E_ALL & E_NOTICE restarted services each time but to no avail. In my test file I have <? echo "this is an error" ?> Please help. oh and the phpinfo file says the the display_error is 'ON' in both Local and Master and the error reproting is 6135 php.ini is located in the C:\Windows dir. Quote Link to comment https://forums.phpfreaks.com/topic/94569-new-install-trying-to-display-error-message/ Share on other sites More sharing options...
PFMaBiSmAd Posted March 5, 2008 Share Posted March 5, 2008 Assuming that short open tags are on, your test code does not contain any php error. Semi-colons are not required on the last line before a closing ?> tag (but you should always use them so that you don't forget when you add code after any line that does not have one.) Quote Link to comment https://forums.phpfreaks.com/topic/94569-new-install-trying-to-display-error-message/#findComment-484284 Share on other sites More sharing options...
Shazbot! Posted March 6, 2008 Author Share Posted March 6, 2008 ahh, that you for that. I forgot about that. I tried a different type of error and it worked. Quote Link to comment https://forums.phpfreaks.com/topic/94569-new-install-trying-to-display-error-message/#findComment-484573 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.