Unable to install php7.0-fpm via ppa: ondrej / php

I installed php7.0-fpm via ppa:ondrej/php on Ubuntu, using the following commands without problems during the last few months while preparing my new server;

 add-apt-repository ppa:ondrej/php apt-get update apt-get install php7.0-fpm 

Today I tried to install again using the same commands as above, and now I get rejected with the last command as follows:

 root@10 :/etc/apt/sources.list.d# apt-get install php7.0-fpm Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php7.0-fpm E: Couldn't find any package by regex 'php7.0-fpm' 

Any clues as to why this set of installation commands suddenly stopped working ?!

The same error is recorded when trying to install php7.0-mysql , which until recently worked fine.

Thank you very much in advance,
Dave

+5
source share
2 answers

I found a resolution for this, as shown below.

The version of Ubuntu I used was 15.04, which is now not supported.
After upgrading my installation to Ubuntu 15.10, installing php7.0-fpm and php7.0-mysql works as php7.0-mysql .

It seems that php7.0-* packages php7.0-* been removed from the ppa:ondrej/php relay ppa:ondrej/php Ubuntu 15.04, but are available in version 15.10.

Currently updating all my servers based on this change.

Dave

+2
source

The dotdeb repository seems to work with extensions 7.0 for me:

https://www.dotdeb.org/instructions/

This is probably not ideal, but:

"Depending on your distribution (Jessie, Wheezy or Squeeze) add these two lines to the /etc/apt/sources.list file (you can also select a mirror near you):"

deb http://packages.dotdeb.org jessie all

deb-src http://packages.dotdeb.org jessie all

Then you can install everything with:

sudo apt-get install -y php7.0 libapache2-mod-php7.0 php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7. 0-intl php7.0-xsl php7.0-mbstring php7.0-zip php7.0-bcmath php7.0-iconv

0
source

Source: https://habr.com/ru/post/1244321/


All Articles