H
H
hrvasiliy2015-12-07 14:50:11
PHP
hrvasiliy, 2015-12-07 14:50:11

How to install PHP 7?

Haven't had my VDS for so long, learned from the usual PHP installation instructions. Now PHP 7 has been released in the standard repositories version 5.5.9, I have been looking for a normal installation manual for more than a day. There are many sites that offer to install from third-party repositories, but what version (beta or release) is there? How to update? Is it safe?... Now it has come to the conclusion that just installing PHP is not enough, you need at least php7-cli php7-common php7-mysql php7-fpm php-pear - Where can I get all this? Where to read a normal manual for installing these components? How to update correctly after installation, for example, to version 7.1? (when it comes out).
OS: Ubuntu 14.04
UPD: Just wondering why on GitHuband on php.net different sources? For example, there is no configure file - I know it is generated after... But why is it in the php.net archive then?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Romanenko, 2015-12-07
@slimus

Here is the ppa: https://launchpad.net/~ondrej/+archive/ubuntu/php-7.0
Everything is already assembled and ready to use. Some modules are missing (redis, amqp, etc.), they will have to be delivered by hand

Z
Zakharov Alexander, 2015-12-07
@AlexZaharow

I don't install php often, but I usually do it from source. Usually in each version there are subtleties of installation, but in general I don’t spend a lot of time anymore.
If you have no experience in installing from source, then I advise you to try it - a very necessary thing in linux, not only for installing php.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question