diff --git a/install b/install index 08c1098..b0d172f 100755 --- a/install +++ b/install @@ -779,22 +779,6 @@ wo_init() { } wo_php_fix() { - local php_versions="5.6 7.0 7.1 7.2 7.3 7.4" - - apt-get autoremove --assume-yes --purge php8.0-* php-igbinary php-memcached php-msgpack php-redis php-imagick php-xdebug php-memcache - for php_version in $php_versions; do - if [ -f "/usr/bin/php$php_version" ]; then - if [ -f "/usr/sbin/php-fpm$php_version" ]; then - local php_extensions="igbinary memcached msgpack redis imagick xdebug" - for php_ext in $php_extensions; do - apt-get -option=Dpkg::options::=--force-confmiss --option=Dpkg::options::=--force-confold --assume-yes install "php$php_version-$php_ext" - done - else - apt-get autoremove --assume-yes --purge "php$php_version-*" - fi - - fi - done if [ -f /lib/systemd/system/mariadb.service ]; then systemctl daemon-reload systemctl enable mariadb diff --git a/wo/cli/controllers/base.py b/wo/cli/controllers/base.py index 95be6a6..4078777 100644 --- a/wo/cli/controllers/base.py +++ b/wo/cli/controllers/base.py @@ -8,7 +8,7 @@ VERSION = WOVar.wo_version BANNER = """ WordOps v%s -Copyright (c) 2020 WordOps. +Copyright (c) 2022 WordOps. """ % VERSION diff --git a/wo/core/stackconf.py b/wo/core/stackconf.py index bd8b25c..992ef28 100644 --- a/wo/core/stackconf.py +++ b/wo/core/stackconf.py @@ -12,7 +12,7 @@ class WOConf(): def nginxcommon(self): """nginx common configuration deployment""" - wo_php_version = ["php72", "php73", "php74"] + wo_php_version = ["php72", "php73", "php74", "php80", "php81"] ngxcom = '/etc/nginx/common' if not os.path.exists(ngxcom): os.mkdir(ngxcom)