I found myself needing to install PHP5.3 on a new install of Ubuntu Lucid Lynx 10.4 recently, here's how I did it:
followed:
http://www.robsearles.com/2010/03/17/installing-php5-3-on-ubuntu-karmic/
Had to get libicu38
https://launchpad.net/ubuntu/hardy/amd64/libicu38/3.8-5
Had to remove the newer version of libkrb - which removed apache and everything (couldn't ssh in after this - so need to then
apt-get install openssh-server
wget http://us.archive.ubuntu.com/ubuntu/pool/main/k/krb5/libkrb53_1.6.dfsg.4~beta1-5ubuntu2_amd64.deb
aptitude install libicu38 apache2 apache2-mpm-prefork mysql-client-5.1 mysql-server-5.1 php5 php5-cli php5-mysql libapache2-mod-php5
set timezone in /etc/php5/apache2/php.ini :
date.timezone = Europe/London
I also wanted mod_rewrite:
sudo a2enmod rewrite
aptitude install curl curl-ssl php5-curl
/etc/init.d/apache2 restart
Hope this helps someone.
Sunday, December 05, 2010
Subscribe to:
Posts (Atom)