A
A
Alex2015-12-07 15:04:49
PHP
Alex, 2015-12-07 15:04:49

Installing PHP 7 on Ubuntu 12?

Good afternoon.
I wanted to install php7, but it doesn't work.
Tell me what's wrong:

$ sudo add-apt-repository ppa:ondrej/php-7.0
$ sudo apt-get update

When I update I get the following message:
W: Failed to fetch http://repo.flops.ru/ubuntu/dists/precise/Release

W: Failed to fetch http://ppa.launchpad.net/ondrej/php-7.0/ubuntu/dists/precise/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ondrej/php-7.0/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ondrej/php-7.0/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found

Accordingly, I can not install.
$ sudo apt-get install php7.0 php7.0-common php7.0-cgi php7.0-fpm php7.0-mysql

Maybe there is another ppa?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
OnYourLips, 2015-12-07
@sensus

Need to upgrade to trusty. precise is not supported.
ppa.launchpad.net/ondrej/php-7.0/ubuntu/dists

R
romy4, 2015-12-07
@romy4

not calculated on presice. 12 ubunta is already such a dinosaur

A
Alexander, 2015-12-07
@bIbI4k0

For Ubuntu 12 precise there are no packages in that turnip. Update the distribution to at least 14.04(lts), or build php7 from source.
I think it will be difficult to compile from the sources, since php7 will pull a cloud of dependencies, which are also outdated or missing in precise.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question