How to Install PHP 5.3.1 on Ubuntu 64 bit and 32 bit

…oui, juste 2 lignes#

Pour Ubuntu x64#

  1. sudo su

  2. 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

Pour Ubuntu 32 bits i386#

  1. sudo su

  2. 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