Skip to content

Commit

Permalink
Upgrade php7 version from v7.0 to v7.1 #25
Browse files Browse the repository at this point in the history
The IUS Community Project (https://ius.io/) has remove each `php70u-*` rpm, so
I change the default vars of `yum_php_version` from 70u to 71u.

> https://repo.ius.io/7/x86_64/packages/p/

By the way, I also upgrade the Debian & Ubuntu part.
  • Loading branch information
chusiang committed Jul 3, 2019
1 parent d389aad commit 80d1619
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ An Ansible role of Deploy PHP 7 (php-fpm) for Nginx. (forked from [itcraftsmanpl

* Current PHP7 version:

* Debian & Ubuntu: **7.0.29**
* CentOS: **7.0.28**
* Debian & Ubuntu: **7.1.30**
* CentOS: **7.1.30**

* Support Linux distributions:

Expand Down Expand Up @@ -76,8 +76,7 @@ ubuntu_php7_ppa_repo: "ppa:ondrej/php"
# false: use the third-party repository.
apt_php_third_party_repo: true
apt_php_version: "7.0"
#apt_php_version: "7.1"
apt_php_version: "7.1"
apt_php_packages:
- php{{ apt_php_version }}
Expand All @@ -96,8 +95,7 @@ apt_php_packages:
# CentOS #
##########
yum_php_version: "70u"
#yum_php_version: "71w"
yum_php_version: "71u"
yum_php_packages:
- php{{ yum_php_version }}-cli
Expand Down
6 changes: 2 additions & 4 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ ubuntu_php7_ppa_repo: "ppa:ondrej/php"
# false: use the third-party repository.
apt_php_third_party_repo: true

apt_php_version: "7.0"
#apt_php_version: "7.1"
apt_php_version: "7.1"

apt_php_packages:
- php{{ apt_php_version }}
Expand All @@ -73,8 +72,7 @@ apt_php_packages:
# CentOS #
##########

yum_php_version: "70u"
#yum_php_version: "71w"
yum_php_version: "71u"

yum_php_packages:
- php{{ yum_php_version }}-cli
Expand Down

0 comments on commit 80d1619

Please sign in to comment.