I have a virtual server with PHP 5.1.6. How can I upgrade to PHP 5.3 using SSH?
Thanks in advance,
Depending on the server operating system / linux flavour it might be as easy as: yum update php or apt-get install php
Be aware this will update you to the latest version of php not necessarily 5.3, also be aware this might break things to proceed with caution!
if your running a redhat based system you should also be able to find a PHP 5.3 RPM which you can install with rpm -uvh rpmname.rpm if you need a specific version of php that yum can't provide.
Its depend in many things:
After you decide, you can login to your server using either ssh client such as Putty, or from command line and follow steps.