How to avoid roaming charges when traveling internationally with iphone?

I would like to know the most economical way to be able to use my iPhone in the Philippines while I'm there for about four weeks. I will be sending texts both to local and US numbers, and occasionally using it for phone calls (not long, only a minute or two at a time).

Don't use it and use the internet instead
only way that I have figured out