PHP Compilation Help

Hi im on a virtual account with dream host and i need to compile my own php so some of my scripts are able to open remote urls. Dreamhost has this disabled. I am following these directions here:

I go through steps 1-4 then after the save on step 4 putty seems to freeze on me where i cannot type anymore.

has anyone else done this? I really need this working ASAP. im available on icq for help 248-877-409 if someone is willing to help me with this.

Thank You