Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    137
    Welcome.

    I managed to add the Debian snapshot package archive to the aptitude sources
    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.

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •