Skip to content

Commit

Permalink
disable xdebug for version 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas committed Jan 23, 2019
1 parent a68d320 commit bdd1829
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This docker configuration is designed for webapps based on PHP. It's includes [c
Supported PHP-Versions:
- 7.1
- 7.2
- 7.3
- 7.3 (without xDebug)

## Required

Expand Down
26 changes: 13 additions & 13 deletions docker/php7.3-fpm/Dockerfile.dist
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ RUN docker-php-ext-install -j$(nproc) iconv mbstring exif zip opcache pcntl \


# install xdebug
RUN pecl install xdebug-beta
RUN docker-php-ext-enable xdebug
RUN echo "error_reporting=E_ALL" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "display_startup_errors=On" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "display_errors=On" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.remote_enable=1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.remote_autostart=1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.remote_connect_back=0" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.remote_host=${XDEBUG_REMOTE_HOST}" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.idekey=\"PHPSTORM\"" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.remote_port=9000" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.remote_addr_header=HTTP_XDEBUG_HOST" >> /usr/local/etc/php/conf.d/docker-php-pecl-xdebug.ini
RUN echo "xdebug.max_nesting_level=1200" >> /usr/local/etc/php/conf.d/docker-php-pecl-xdebug.ini
#RUN pecl install xdebug
#RUN docker-php-ext-enable xdebug
#RUN echo "error_reporting=E_ALL" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
#RUN echo "display_startup_errors=On" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
#RUN echo "display_errors=On" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
#RUN echo "xdebug.remote_enable=1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
#RUN echo "xdebug.remote_autostart=1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
#RUN echo "xdebug.remote_connect_back=0" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
#RUN echo "xdebug.remote_host=${XDEBUG_REMOTE_HOST}" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
#RUN echo "xdebug.idekey=\"PHPSTORM\"" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
#RUN echo "xdebug.remote_port=9000" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
#RUN echo "xdebug.remote_addr_header=HTTP_XDEBUG_HOST" >> /usr/local/etc/php/conf.d/docker-php-pecl-xdebug.ini
#RUN echo "xdebug.max_nesting_level=1200" >> /usr/local/etc/php/conf.d/docker-php-pecl-xdebug.ini

# install yarn
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - \
Expand Down

0 comments on commit bdd1829

Please sign in to comment.