Install PHP 5.3 + Apache on ubuntu 9.10 using dotdeb repositories, via apt-get
par Alexis Métaireau
PHP 5.3 isn’t proposed by default within the default ubuntu 9.10 repositories.
Here are the steps needed to quickly install Apache + PHP 5.3 in an ubuntu linux environment.
All in two command lines
Just copy the two line above to get php 5.3 working
sudo su
cd /tmp && mkdir php53 && cd php53 && wget http://us.archive.ubuntu.com/ubuntu/pool/main/k/krb5/libkrb53_1.6.dfsg.4~beta1-5ubuntu2_i386.deb && wget http://us.archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu38_3.8-6ubuntu0.2_i386.deb && 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
cd /tmp && mkdir php53 && cd php53 && wget http://us.archive.ubuntu.com/ubuntu/pool/main/k/krb5/libkrb53_1.6.dfsg.4~beta1-5ubuntu2_i386.deb && wget http://us.archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu38_3.8-6ubuntu0.2_i386.deb && 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
Details
First, download dependencies, and install them.
sudo su
cd /tmp
mkdir php53 && cd php53
wget http://us.archive.ubuntu.com/ubuntu/pool/main/k/krb5/libkrb53_1.6.dfsg.4~beta1-5ubuntu2_i386.deb
wget http://us.archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu38_3.8-6ubuntu0.2_i386.deb
dpkg -i *.deb
cd /tmp
mkdir php53 && cd php53
wget http://us.archive.ubuntu.com/ubuntu/pool/main/k/krb5/libkrb53_1.6.dfsg.4~beta1-5ubuntu2_i386.deb
wget http://us.archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu38_3.8-6ubuntu0.2_i386.deb
dpkg -i *.deb
Add the dotdeb repository to our apt sources.list:
echo "deb http://php53.dotdeb.org stable all" >> /etc/apt/sources.list
aptitude update
aptitude update
Install apache + PHP5.3 !
aptitude install libapache2-mod-php5=5.3.1 apache2
And that’s it !

Comments
[...] more from the original source: Install PHP 5.3 + Apache on ubuntu 9.10 using dotdeb repositories … By admin | category: ubuntu install | tags: alexis, apache, default, default-within, php, [...]
[...] View post: Install PHP 5.3 + Apache on ubuntu 9.10 using dotdeb repositories … [...]
[...] more here: Install PHP 5.3 + Apache on ubuntu 9.10 using dotdeb repositories … [...]
[...] Read more: Install PHP 5.3 + Apache on ubuntu 9.10 using dotdeb repositories … [...]
The libraries are for ubuntu 32 bit version and not for the 64 bit version which I have installed…