…yes just 2 lines#
For Ubuntu x64#
sudo su
cd /tmp && mkdir php53 && cd php53 && wget && wget && dpkg -i *.deb && echo “deb http://php53.dotdeb.org stable all” » /etc/apt/sources.list && aptitude update && aptitude install libapache2-mod-php5=5.3.1 apache2
For Ubuntu 32 bit i386#
sudo su
cd /tmp && mkdir php53 && cd php53 && wget && wget && dpkg -i *.deb && echo “deb http://php53.dotdeb.org stable all” » /etc/apt/sources.list && aptitude update && aptitude install libapache2-mod-php5=5.3.1 apache2