update

Can someone please explain step by steps instructions in how to update my php version? Actually I need to update uniserver, php my admin, php and mysql. But php is the most urgent, I don't find any info or instructions on how to do this.