Install scripts from scratch on a webserver

Hey, I’m helpin my father out by adding a shopping cart to his site, but it requires php5 and mysql5, unfrortunately, his server is outdated an does not include these technologies.

I can’t find a good way to just install php and mysql 5, so I want to start from scratch.

Does anyone know any good articles on how to install the basic server technology on a clean slate?

I’m looking for PHP, MySQL, Apache, and phpmyadmin