Note: I could not get 5.2 and 5.3 running at the same time. I could only get them both installed so where I could quickly enable one or the other. I had to use a2enmod php5
and a2dismod php5
to turn PHP 5.2 on and off because PHP 5.3 would also take priority otherwise.