If you want certain environment PATHs to be preset everytime you login via PuTTY, you can set them up in your .bash_profile file located in your user root. As an example, to set your shell to use php5 you could add:
export PATH=/usr/local/php5/bin:$PATH[color=#00CC00]$[/color] which php would then resolve to /usr/local/php5/bin/php (rather than /usr/local/bin/php)
You effectively need to logout and then back in after making changes to .bash_profile
To load a newly edited version without a login/logout use the source command.
[color=#00CC00]$[/color] source .bash_profile
Maximum Cash Discount on any plan with MAXCASH
How To Install PHP.INI / ionCube on DreamHost