Ubuntu 14.04 安装 PHP 7系列 FPM

1.加源

add-apt-repository ppa:ondrej/php

2.更新

apt-get update

3.安装

apt-get install php7.1-fpm php7.1-mysql php7.1-curl php7.1-cli php7.1-gd php7.1-xml php7.1-mcrypt php7.1-zip php7.1-mbstring -y

7.1可以替换为7.0等存在的版本。

删除源的话:

add-apt-repository -r ppa:ondrej/php

未经允许不得转载:阿藏博客 » Ubuntu 14.04 安装 PHP 7系列 FPM

赞 (0) 打赏