Jump to content

Recommended Posts

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?
Link to comment
https://forums.phpfreaks.com/topic/12074-logging-syntax-errors/
Share on other sites

[!--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 :).
Link to comment
https://forums.phpfreaks.com/topic/12074-logging-syntax-errors/#findComment-45953
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.