|
@ -545,6 +545,8 @@ class EEStackController(CementBaseController): |
|
|
config.read('/etc/php5/fpm/pool.d/debug.conf') |
|
|
config.read('/etc/php5/fpm/pool.d/debug.conf') |
|
|
config['debug']['listen'] = '127.0.0.1:9001' |
|
|
config['debug']['listen'] = '127.0.0.1:9001' |
|
|
config['debug']['rlimit_core'] = 'unlimited' |
|
|
config['debug']['rlimit_core'] = 'unlimited' |
|
|
|
|
|
config['debug']['slowlog'] = '/var/log/php5/slow.log' |
|
|
|
|
|
config['debug']['request_slowlog_timeout'] = '10s' |
|
|
with open('/etc/php5/fpm/pool.d/debug.conf', |
|
|
with open('/etc/php5/fpm/pool.d/debug.conf', |
|
|
encoding='utf-8', mode='w') as confifile: |
|
|
encoding='utf-8', mode='w') as confifile: |
|
|
Log.debug(self, "writting PHP5 configuration into " |
|
|
Log.debug(self, "writting PHP5 configuration into " |
|
|