Skip to content

Commit 6ea6c6e

Browse files
author
gau1991
committed
Merge branch 'master' into stable
2 parents 94f77a5 + 42e3224 commit 6ea6c6e

File tree

9 files changed

+307
-143
lines changed

9 files changed

+307
-143
lines changed

CHANGELOG.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v 3.1.8 - May 22, 2015
2+
- Fixed PHP Failed to Restart after Upgrade #550
3+
- Improved ee stack services command
4+
- Minor fix and improvements
5+
16
v 3.1.7 - May 21, 2015
27
- Fixed site blank issue after nginx stack upgrade on Debian
38
- Improved update script

ee/cli/plugins/site_functions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import getpass
1818
import glob
1919
import re
20+
import platform
2021

2122

2223
class SiteError(Exception):
@@ -604,6 +605,8 @@ def site_package_check(self, stype):
604605
"/usr/bin/wp", "WP-CLI"]]
605606

606607
if self.app.pargs.hhvm:
608+
if platform.architecture()[0] is '32bit':
609+
Log.error(self, "HHVM is not supported by 32bit system")
607610
Log.debug(self, "Setting apt_packages variable for HHVM")
608611
if not EEAptGet.is_installed(self, 'hhvm'):
609612
apt_packages = apt_packages + EEVariables.ee_hhvm

ee/cli/plugins/stack.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import pwd
2626
import grp
2727
import codecs
28+
import platform
2829
from ee.cli.plugins.stack_services import EEStackStatusController
2930
from ee.cli.plugins.stack_migrate import EEStackMigrateController
3031
from ee.cli.plugins.stack_upgrade import EEStackUpgradeController
@@ -1494,6 +1495,8 @@ def install(self, packages=[], apt_packages=[], disp_msg=True):
14941495

14951496
if self.app.pargs.hhvm:
14961497
Log.debug(self, "Setting apt packages variable for HHVM")
1498+
if platform.architecture()[0] is '32bit':
1499+
Log.error(self, "HHVM is not supported by 32bit system")
14971500
if not EEAptGet.is_installed(self, 'hhvm'):
14981501
apt_packages = apt_packages + EEVariables.ee_hhvm
14991502
else:

0 commit comments

Comments
 (0)