Browse Source

More debug messages for better error understanding

bugfixes
gau1991 10 years ago
parent
commit
ea48b1c443
  1. 2
      ee/cli/plugins/stack.py

2
ee/cli/plugins/stack.py

@ -391,6 +391,8 @@ class EEStackController(CementBaseController):
# Prase /etc/php5/fpm/php-fpm.conf # Prase /etc/php5/fpm/php-fpm.conf
config = configparser.ConfigParser() config = configparser.ConfigParser()
Log.debug(self, "configuring php file"
"/etc/php5/fpm/php-fpm.conf")
config.read(codecs.open("/etc/php5/fpm/php-fpm.conf", config.read(codecs.open("/etc/php5/fpm/php-fpm.conf",
"r", "utf8")) "r", "utf8"))
config['global']['error_log'] = '/var/log/php5/fpm.log' config['global']['error_log'] = '/var/log/php5/fpm.log'

Loading…
Cancel
Save