Browse Source

stack php5.6 status

master
Prabuddha Chakraborty 9 years ago
parent
commit
e31c92f8ed
  1. 12
      ee/cli/plugins/stack_services.py

12
ee/cli/plugins/stack_services.py

@ -253,10 +253,16 @@ class EEStackStatusController(CementBaseController):
Log.info(self, "Nginx is not installed") Log.info(self, "Nginx is not installed")
if self.app.pargs.php: if self.app.pargs.php:
if EEAptGet.is_installed(self, 'php5-fpm'): if EEVariables.ee_platform_codename != 'trusty':
services = services + ['php5-fpm'] if EEAptGet.is_installed(self, 'php5-fpm'):
services = services + ['php5-fpm']
else:
Log.info(self, "PHP5-FPM is not installed")
else: else:
Log.info(self, "PHP5-FPM is not installed") if EEAptGet.is_installed(self, 'php5.6-fpm'):
services = services + ['php5.6-fpm']
else:
Log.info(self, "PHP5.6-FPM is not installed")
if self.app.pargs.mysql: if self.app.pargs.mysql:
if ((EEVariables.ee_mysql_host is "localhost") or if ((EEVariables.ee_mysql_host is "localhost") or

Loading…
Cancel
Save