Ubuntu 16.04 升级 PHP 版本至 7.1

Posted Tinywan

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu 16.04 升级 PHP 版本至 7.1相关的知识,希望对你有一定的参考价值。

安装swoole扩展,怎么安装到7.0下去了,我本来编译的版本是7.19版本,但是没吃

 

直接安装提示这个:

[email protected]:~$ pecl install swoole
The program pecl is currently not installed. To run pecl please ask your administrator to install the package php-pear

 

sudo apt-get install php-pear

 

 

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







以上是关于Ubuntu 16.04 升级 PHP 版本至 7.1的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu16.04 python2.7升级python3.5

ubuntu16.04 安装指定版本Node,升级npm到指定版本

ubuntu16.04LTS服务器,python2.7升级到3.6,且同时升级pip

在命令行 ubuntu 16.04 上切换 php 版本

如何在 Ubuntu 16.04 上的 XAMPP 中安装较旧的 PHP 版本?

ubuntu16升级到18