nawhaley2265 Posted June 15, 2006 Share Posted June 15, 2006 Hey everyone, I'm trying to get IIS to do one of two things 1) Display the syntax error messages on the php page itself or 2) make a log file with the errors that occured loading a page on it. The second option is more preferable since it lets me view just the log then fix the syntax errors I have without having to turn it off when I'm done so the end user dosent see it. However I can't seem to get it configured properly in the php.ini file does anyone have a set of instructions on how to do this? Quote Link to comment https://forums.phpfreaks.com/topic/12074-logging-syntax-errors/ Share on other sites More sharing options...
trq Posted June 15, 2006 Share Posted June 15, 2006 The php.ini is pretty well commented in this area, however, I think you'll find most syntax [i]errors[/i] are actually just [i]warnings[/i]. Quote Link to comment https://forums.phpfreaks.com/topic/12074-logging-syntax-errors/#findComment-45945 Share on other sites More sharing options...
nawhaley2265 Posted June 15, 2006 Author Share Posted June 15, 2006 [!--quoteo(post=384228:date=Jun 15 2006, 10:47 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ Jun 15 2006, 10:47 AM) [snapback]384228[/snapback][/div][div class=\'quotemain\'][!--quotec--]The php.ini is pretty well commented in this area, however, I think you'll find most syntax [i]errors[/i] are actually just [i]warnings[/i].[/quote]yeah I just got it working and its not liking my odbc connection to my database for some reason it keeps saying its not configured properly which is striking me as odd. Thanks for the response by the way and yeah I know its mostly warnings but they help me debug my code anyway :). Quote Link to comment https://forums.phpfreaks.com/topic/12074-logging-syntax-errors/#findComment-45953 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.