Skip to content

Commit 714902d

Browse files
Moving php-fpm xdebug config to proper location
1 parent f5478cf commit 714902d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

php-fpm/Dockerfile-70

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
6060
docker-php-ext-enable xdebug \
6161
;fi
6262

63+
# Copy xdebug configration for remote debugging
64+
COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
65+
6366
#####################################
6467
# PHP REDIS EXTENSION FOR PHP 7
6568
#####################################
@@ -72,9 +75,6 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
7275
&& docker-php-ext-enable redis \
7376
;fi
7477

75-
# Copy xdebug configration for remote debugging
76-
COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
77-
7878
#####################################
7979
# MongoDB:
8080
#####################################

php-fpm/Dockerfile-71

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
4848
docker-php-ext-enable xdebug \
4949
;fi
5050

51+
# Copy xdebug configration for remote debugging
52+
COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
53+
5154
#####################################
5255
# PHP REDIS EXTENSION FOR PHP 7
5356
#####################################
@@ -60,9 +63,6 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
6063
&& docker-php-ext-enable redis \
6164
;fi
6265

63-
# Copy xdebug configration for remote debugging
64-
COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
65-
6666
#####################################
6767
# MongoDB:
6868
#####################################

0 commit comments

Comments
 (0)