A
A
Alexander2016-10-15 18:17:24
PHP
Alexander, 2016-10-15 18:17:24

Ubuntu 15.10 can't install php 7?

My Ubuntu had php 5 and 7. I removed version 5 like here askubuntu.com/questions/768737/how-to-remove-php-5-6
Then I noticed that he removed php7.0 as well.
I install version 7 like here askubuntu.com/questions/715944/unable-to-locate-pa...
After that, an error in the terminal:

[email protected]:~$ sudo apt-get install php7.0 php7.0-fpm php7.0-mysql -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package php7.0
E: Couldn't find any package by regex 'php7.0'
E: Unable to locate package php7.0-fpm
E: Couldn't find any package by regex 'php7.0-fpm'
E: Unable to locate package php7.0-mysql
E: Couldn't find any package by regex 'php7.0-mysql'

Google did not give an answer to this question, how can you help?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nazar Mokrinsky, 2016-10-15
@kentuck1213

15.10 is no longer supported (support for non-LTS versions for 9 months). Therefore, security updates do not come. And that is why the repository you mentioned and use is now also empty, the developer simply removed support for the outdated Ubuntu 15.10.
Update to 16.04, where php 7 is available from the standard repositories.
PS In Ubuntu 16.04 install unversioned packages: php, php-fpm, php-mysql; version 7 will be pulled up by dependencies, it will be easier to update.

A
Andrey Shakhtarin, 2016-10-15
@AndreyShakhtarin

you can use the Synaptic Package Manager if it is in ubuntu, it is in Linux

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question