* correct path for profiler output

This commit is contained in:
2022-06-17 21:55:44 +03:00
parent de93f6746b
commit 04d399489b
3 changed files with 3 additions and 10 deletions

View File

@ -28,7 +28,7 @@ services:
restart: always restart: always
volumes: volumes:
- ${PROJECTS_DIR}:/usr/share/nginx/html - ${PROJECTS_DIR}:/usr/share/nginx/html
- ./data/profiler:/tmp - ./data/profiler:/tmp/profiler
expose: expose:
- 9000 - 9000
workspace: workspace:

View File

@ -33,13 +33,6 @@ RUN if [ ${INSTALL_PEAR_MAIL} = true ]; then \
COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
########################################################################### ###########################################################################
# Permission denied on /tmp folder:
###########################################################################
RUN mkdir /php-tmp && chmod 777 -R /php-tmp && chmod o+t -R /php-tmp
RUN sed -i "s/^;upload_tmp_dir =.*/upload_tmp_dir = \/php-tmp/g" "$PHP_INI_DIR/php.ini"
###########################################################################
# Tune opts: # Tune opts:
########################################################################### ###########################################################################

View File

@ -10,7 +10,7 @@ xdebug.remote_enable=1
xdebug.cli_color=0 xdebug.cli_color=0
xdebug.profiler_enable=1 xdebug.profiler_enable=1
xdebug.profiler_enable_trigger=1 xdebug.profiler_enable_trigger=1
xdebug.profiler_output_dir=/tmp xdebug.profiler_output_dir=/tmp/profiler
xdebug.remote_handler=dbgp xdebug.remote_handler=dbgp
xdebug.remote_mode=req xdebug.remote_mode=req
@ -20,7 +20,7 @@ xdebug.var_display_max_data=-1
xdebug.var_display_max_depth=-1 xdebug.var_display_max_depth=-1
xdebug.trace_enable_trigger=1 xdebug.trace_enable_trigger=1
xdebug.trace_output_dir=/tmp xdebug.trace_output_dir=/tmp/trace
xdebug.trace_output_name="trace.%t" xdebug.trace_output_name="trace.%t"
xdebug.show_exception_trace=1 xdebug.show_exception_trace=1