I'm trying to install PHP 5.2.10 on Ubuntu 10.04 using apt-get. I used Approach 3 from this page but instead of using add-apt-repository I made a file called /etc/apt/sources.list.d/ppa:txwikinger.php5.2-source.list that contains the line:
deb http://ppa.launchpad.net/txwikinger/php5.2/ubuntu lucid main
But when I run sudo apt-get update followed by sudo apt-get install php5, I get this result:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package php5 has no installation candidate
Does anyone know what I'm doing wrong?
sudo apt-get install php5.2work? Orsudo apt-get install php? – new123456 May 14 '11 at 23:11Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package php– Scott May 16 '11 at 16:25