This question already has an answer here:
I'm seeing info on how to upgrade from a specific version to another, and that is what I want to do (currently 3.3.6), but is there a simple command to do this? I'm a complete ubuntu/linux noob so I have no idea what I'm talking about, I just want to upgrade php because my current version maybe limiting the amount of input elements that I can post to the following page.