diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 1aaeb35f..6fb582ad 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -1105,8 +1105,8 @@ class EEStackController(CementBaseController): "profiler_enable] = off\n") # Disable xdebug - if not EEShellExec.cmd_exec(self, "grep -q \';zend_extension\' /etc/php/mods-available/xdebug.ini"): - EEFileUtils.searchreplace(self, "/etc/php/mods-available/" + if not EEShellExec.cmd_exec(self, "grep -q \';zend_extension\' /etc/php/5.6/mods-available/xdebug.ini"): + EEFileUtils.searchreplace(self, "/etc/php/5.6/mods-available/" "xdebug.ini", "zend_extension", ";zend_extension") @@ -1244,8 +1244,8 @@ class EEStackController(CementBaseController): "profiler_enable] = off\n") # Disable xdebug - if not EEShellExec.cmd_exec(self, "grep -q \';zend_extension\' /etc/php/mods-available/xdebug.ini"): - EEFileUtils.searchreplace(self, "/etc/php/mods-available/" + if not EEShellExec.cmd_exec(self, "grep -q \';zend_extension\' /etc/php/7.0/mods-available/xdebug.ini"): + EEFileUtils.searchreplace(self, "/etc/php/7.0/mods-available/" "xdebug.ini", "zend_extension", ";zend_extension")