Commit 63a235b6 authored by Manuel Christlieb's avatar Manuel Christlieb
Browse files

update xdebug script and entrypoint

parent 9b19ef07
Pipeline #14405 passed with stage
in 4 minutes and 57 seconds
[PHP]
max_execution_time = 240
max_execution_time = 3600
max_input_vars = 1500
upload_max_filesize = 32M
post_max_size=32M
upload_max_filesize = 515M
post_max_size=512M
always_populate_raw_post_data=-1
memory_limit=2G
; show errors in docker log
log_errors = On
......
#!/bin/sh
#!/bin/bash
set -o errexit
set -o pipefail
docker-php-ext-enable xdebug
echo -e "xdebug.remote_port=9000\nxdebug.remote_enable=1\nxdebug.remote_connect_back=1" > /usr/local/etc/php/conf.d/xdebug_remote.ini
# must be enabled as zend_extension, so just echo it instead of loading with php-ext-enable
echo "zend_extension=xdebug.so
xdebug.remote_port=${XDEBUG_REMOTE_PORT:-9000}
xdebug.remote_enable=${XDEBUG_REMOTE_ENABLE:-1}
xdebug.remote_connect_back=${XDEBUG_REMOTE_CONNECT_BACK:-0}
xdebug.remote_host=${XDEBUG_REMOTE_HOST:-10.254.254.254}
xdebug.max_nesting_level=${XDEBUG_MAX_NESTING_LEVEL:-400}" > /usr/local/etc/php/conf.d/xdebug_remote.ini
#!/bin/sh
set -e
[ ! -z "${UMASK:-}" ] && umask ${UMASK}
[ ! -z "${TEAM23_DOCKER_PHP_ENABLE_XDEBUG:-}" ] && /usr/local/bin/team23-docker-php-enable-xdebug.sh
exec docker-php-entrypoint "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment