|
|
@ -62,6 +62,8 @@ class EEStackController(CementBaseController): |
|
|
|
dict(help='Install Nginx mainline stack', action='store_true')), |
|
|
|
(['--php'], |
|
|
|
dict(help='Install PHP stack', action='store_true')), |
|
|
|
(['--php7'], |
|
|
|
dict(help='Install PHP 7.0 stack', action='store_true')), |
|
|
|
(['--mysql'], |
|
|
|
dict(help='Install MySQL stack', action='store_true')), |
|
|
|
(['--hhvm'], |
|
|
@ -178,7 +180,8 @@ class EEStackController(CementBaseController): |
|
|
|
Log.debug(self, 'Adding ppa of Nginx-mainline') |
|
|
|
EERepo.add_key(self, EEVariables.ee_nginx_key) |
|
|
|
|
|
|
|
if set(EEVariables.ee_php).issubset(set(apt_packages)): |
|
|
|
if (set(EEVariables.ee_php).issubset(set(apt_packages)) or set(EEVariables.ee_php7_0).issubset(set(apt_packages))\ |
|
|
|
or set(EEVariables.ee_php5_6).issubset(set(apt_packages))): |
|
|
|
Log.info(self, "Adding repository for PHP, please wait...") |
|
|
|
# Add repository for php |
|
|
|
if EEVariables.ee_platform_distro == 'debian': |
|
|
|