linux - 为什么源中的安装包都非常旧?
黄舟
黄舟 2017-04-17 14:40:07
0
1
359

懒人一个,突发奇想想安装php7到ubuntu15.10,但是apt-get 只能装php5 ,版本(5.6)

貌似不论deb还是rpm,各个发行版的源里面安装包都很旧,阿里云php都只有5.4版本。

最惨的是npm的安装包。

另外有个小疑问:mirror里面已经能看到php7.0的安装文件了,但是apt-get装不上,好奇怪啊。

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
阿神

php7 was released in December last year, and ubuntu15.10 was released in October last year. In order to ensure that the software running on the system can run stably, there will be no major changes in the software version after the system is released. At present, php7 has been introduced into ubuntu16.04 and is expected to be released in April. Other distributions have similar reasons.

If you want to install php7 on the current version, it is recommended to use the ppa extension library

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

centos can install php7 through the ius extension library. For specific usage, please see https://ius.io/GettingStarted/

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!