Quote from Bob Fizzle
I'm assuming this is in your single player world. If not, then you might have difficulty doing this.
What you do is press the chat button (T by default) and type /gamerule doFireTick false
Also, you have to have cheats enabled if it's a single player world, otherwise you won't be able to do anything about it.
this was exactly what i was looking for in a google search.. thank you!!