Results 1 to 2 of 2
Hi,
I wan't to install PHP5 version 5.2.4-2. I managed to add the Debian snapshot package archive to the aptitude sources, but I can't get the package installed. I'm not ...
- 04-01-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 1
Install PHP through Debian snapshot
Hi,
I wan't to install PHP5 version 5.2.4-2. I managed to add the Debian snapshot package archive to the aptitude sources, but I can't get the package installed. I'm not excatly sure what command I should use. I have tried installing the package with
apt-get install php5=5.2.4-2
..but aptitude will only say that Version '5.2.4-2' for 'php5' was not found
-David
- 04-03-2011 #2Linux Newbie
- Join Date
- Sep 2007
- Posts
- 137
Welcome.
Not sure what you wrote. Do you mean you edited /etc/apt/sources.list and then updated the package list? Also don't know which Debian you have but I'll assume its the current stable version, Squeeze.I managed to add the Debian snapshot package archive to the aptitude sources
Apt-get returns 'not found' because the version you want isn't in the Squeeze repo. That version doesn't seem to be in Lenny (old stable) Wheezy (testing) or Sid (unstable).
If you have to have PHP5 version 5.2.4-2, you may need to download the source and compile it. If you can use one of the versions from the Debian repos, you can install it with aptitude or apt-get.


Reply With Quote
