Removes xdebug from production php.ini and moves it to development dir

This commit is contained in:
soneill 2021-09-16 10:51:26 +12:00
parent 24a1d14119
commit c919dfd6d1
2 changed files with 30 additions and 0 deletions

16
development/php.development.ini Executable file
View file

@ -0,0 +1,16 @@
memory_limit = 256M
upload_max_filesize = 100M
post_max_size = 108M
max_input_vars = 5000
html_errors = 0
cgi.force_redirect=0
cgi.fix_pathinfo=1
fastcgi.impersonate=1
fastcgi.logging=0
request_terminate_timeout = 300
session.save_handler = redis
session.save_path = "tcp://${CONTAINER_NAME}-redis:6379"
zend_extension=/usr/lib/php7/modules/xdebug.so
[Date]
date.timezone="UTC"

14
development/xdebug.ini Normal file
View file

@ -0,0 +1,14 @@
zend_extension=xdebug
[xdebug]
xdebug.mode=develop,debug
xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_connect_back=0
xdebug.remote_host=host.docker.internal
xdebug.idekey=VSCODE
xdebug.remote_autostart=1
xdebug.start_with_request=yes
xdebug.log=/tmp/xdebug.log