How to Install PHP 5.3.1 on Ubuntu 64 bit and 32 bit
17 March 2010
…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