@ -510,9 +510,9 @@ class EESiteCreateController(CementBaseController):
data['php7'] = False
php7 = 0
if (self.app.pargs.php7) and (not self.app.pargs.w3tc) and\
(not self.app.pargs.wpfc) and (not self.app.pargs.wpsc) and (not self.app.pargs.wpredis) \
and (not self.app.pargs.hhvm):
if (not self.app.pargs.w3tc) and\
data['basic'] = True
@ -1072,7 +1072,7 @@ def detSitePar(opts):
cachelist = list()
for key, val in opts.items():
if val and key in ['html', 'php', 'mysql', 'wp',
'wpsubdir', 'wpsubdomain']:
'wpsubdir', 'wpsubdomain','php7']:
typelist.append(key)
elif val and key in ['wpfc', 'wpsc', 'w3tc', 'wpredis']:
cachelist.append(key)
@ -2183,6 +2183,8 @@ class EEStackController(CementBaseController):
Log.debug(self, "Setting apt_packages variable for PHP 7.0")
if not EEAptGet.is_installed(self, 'php7.0-fpm') :
apt_packages = apt_packages + EEVariables.ee_php7_0
if not EEAptGet.is_installed(self, 'php5.6-fpm'):
apt_packages = apt_packages + EEVariables.ee_php5_6
else:
Log.debug(self, "PHP 7.0 already installed")
Log.info(self, "PHP 7.0 already installed")