chlpo.blogg.se

Ubuntu php5 has no installation candidate
Ubuntu php5 has no installation candidate













ubuntu php5 has no installation candidate ubuntu php5 has no installation candidate

Package php5 has no installation candidate. sudo apt-get install software-properties-common. install the software-python-common with the command. When that's saved, run sudo apt-get update and then you should be able to install things again. When I write in the terminal : sudo apt-get install php5 it says. find the keyword python-software-properties and replace it with software-python-common, save and exit. Stick those in the right place with sudoedit /etc/apt/sources.list (you might as well ditch those lines about hardy). sudo apt-get update sudo apt-get install php5.6 You can install php5.6 modules too. I would suggest using a tool like RepoGen to get the basics in but failing that, here are the most essential: deb trusty main restricted universe multiverseĭeb trusty-security main restricted universe multiverseĭeb trusty-updates main restricted universe multiverseĭeb trusty-proposed main restricted universe multiverseĭeb trusty-backports main restricted universe multiverse Your first step is getting your repos back on track. I suspect you've followed an old tutorial and it has broken things. Php and by extension php-mcrypt are now at version 7. And I've got no explanation for why you have a Hardy repo installed. I'm going to guess that you are using an old version of Ubuntu that is no longer supported or you are following a tutorial that is outdated. Package libapache2-mod-php5 has no installation candidate Just In Time Berlake. I did sudo apt-get upgrade & sudo apt-get install libapache2-mod-php5 But got The following packages. If that's really the whole of your /etc/apt/sources.list file, that explains your current situation. I installed php5.5 and upgrade Ubuntu from 12 to 14.















Ubuntu php5 has no installation candidate