Answer the question
In order to leave comments, you need to log in
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
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
$ sudo apt-get install php7.0 php7.0-common php7.0-cgi php7.0-fpm php7.0-mysql
Answer the question
In order to leave comments, you need to log in
Need to upgrade to trusty. precise is not supported.
ppa.launchpad.net/ondrej/php-7.0/ubuntu/dists
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 questionAsk a Question
731 491 924 answers to any question