Fix stack status
This commit is contained in:
@@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
- Update WP-CLI to v2.6.0 with PHP 8.0/8.1 support
|
- Update WP-CLI to v2.6.0 with PHP 8.0/8.1 support
|
||||||
- Update adminer to v4.8.1
|
- Update adminer to v4.8.1
|
||||||
- Update Redis repository ([PR #377](https://github.com/WordOps/WordOps/pull/377))
|
- Update Redis repository ([PR #377](https://github.com/WordOps/WordOps/pull/377))
|
||||||
|
- Set PHP 8.0 as default PHP version. Can be changed in `/etc/wo/wo.conf`
|
||||||
|
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -411,6 +411,14 @@ class WOStackStatusController(CementBaseController):
|
|||||||
services = services + ['php7.4-fpm']
|
services = services + ['php7.4-fpm']
|
||||||
else:
|
else:
|
||||||
Log.info(self, "PHP7.4-FPM is not installed")
|
Log.info(self, "PHP7.4-FPM is not installed")
|
||||||
|
if os.path.exists('{0}'.format(wo_system) + 'php8.0-fpm.service'):
|
||||||
|
services = services + ['php8.0-fpm']
|
||||||
|
else:
|
||||||
|
Log.info(self, "PHP8.0-FPM is not installed")
|
||||||
|
if os.path.exists('{0}'.format(wo_system) + 'php8.1-fpm.service'):
|
||||||
|
services = services + ['php8.1-fpm']
|
||||||
|
else:
|
||||||
|
Log.info(self, "PHP8.1-FPM is not installed")
|
||||||
|
|
||||||
if pargs.php72:
|
if pargs.php72:
|
||||||
if os.path.exists('{0}'.format(wo_system) + 'php7.2-fpm.service'):
|
if os.path.exists('{0}'.format(wo_system) + 'php7.2-fpm.service'):
|
||||||
|
|||||||
Reference in New Issue
Block a user