From 80d1619b7e5e9eb9c5464fe2d5b9c39b39dd78f6 Mon Sep 17 00:00:00 2001 From: Chu-Siang Lai Date: Wed, 3 Jul 2019 12:31:40 +0800 Subject: [PATCH] Upgrade php7 version from v7.0 to v7.1 #25 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. --- README.md | 10 ++++------ defaults/main.yml | 6 ++---- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 15a1eb9..ee6093b 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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 }} @@ -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 diff --git a/defaults/main.yml b/defaults/main.yml index 78ce29b..e02b547 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 }} @@ -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