Skip to content

Commit 355c754

Browse files
committed
Improved fpm config
1 parent ffee447 commit 355c754

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker/main/bin/php-fpm.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ sed -i "s@listen = /var/run/php5-fpm.sock@listen = 9000@" /etc/php5/fpm/pool.d/w
1111

1212
# Manipulate php-fpm configuration
1313
echo "
14+
catch_workers_output = yes
15+
16+
access.log = /proc/self/fd/2
17+
slowlog = /proc/self/fd/2
18+
request_slowlog_timeout = 30s
19+
20+
php_admin_value[error_log] = /proc/self/fd/2
21+
1422
env[TYPO3_CONTEXT] = ${TYPO3_CONTEXT}
1523
env[FLOW_CONTEXT] = ${FLOW_CONTEXT}
1624
env[FLOW_REWRITEURLS] = ${FLOW_REWRITEURLS}

0 commit comments

Comments
 (0)