First you have to add the source from the site to your apt sources list. For backports.org add this line:
deb
http://www.backports.org/debian/ sarge-backports main
to your /etc/apt/sources.list. Then run the command:
apt-get update
To see which php5 packages are available, execute this command:
apt-cache search php5
Then install the packages that you need with the command:
apt-get install packagename1 packagename2 pacakgename3
The pcakaes might be named like this:
apt-get install libapache2-mod-php5 libapache2-mod-perl2 php5 php5-cli php5-common php5-curl php5-dev php5-domxml php5-gd php5-imap php5-ldap php5-mcal php5-mhash php5-mysql php5-odbc php5-pear php5-xslt
But I'am not sure if all these packages where available at backports.org, so its better if you compare this list with the packages list you get with "apt-cache search php5".
Recent comments
1 day 2 hours ago
1 day 5 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 9 min ago
2 days 6 hours ago
2 days 15 hours ago
2 days 17 hours ago
3 days 1 hour ago
3 days 3 hours ago