Skip to content

Commit

Permalink
[FIX] xdebug version for php 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Höchtl committed Jan 25, 2020
1 parent ae97176 commit 98dbe3c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions docker/php-apache-dev/5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN set -x \
blackfire-php \
blackfire-agent \
&& pecl install xdebug-2.5.5 \

&& echo "zend_extension=xdebug.so" > /usr/local/etc/php/conf.d/xdebug.ini \
# Enable php development services
&& docker-service enable syslog \
Expand Down
2 changes: 1 addition & 1 deletion docker/php-apache-dev/7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN set -x \
&& apt-install \
blackfire-php \
blackfire-agent \
&& pecl install xdebug \
&& pecl install xdebug-2.8.1 \
&& echo "zend_extension=xdebug.so" > /usr/local/etc/php/conf.d/xdebug.ini \
# Enable php development services
&& docker-service enable syslog \
Expand Down
1 change: 1 addition & 0 deletions docker/php-dev/5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN set -x \
blackfire-php \
blackfire-agent \
&& pecl install xdebug-2.5.5 \

&& echo "zend_extension=xdebug.so" > /usr/local/etc/php/conf.d/xdebug.ini \
# Enable php development services
&& docker-service enable syslog \
Expand Down
2 changes: 1 addition & 1 deletion docker/php-dev/7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN set -x \
&& apt-install \
blackfire-php \
blackfire-agent \
&& pecl install xdebug \
&& pecl install xdebug-2.8.1 \
&& echo "zend_extension=xdebug.so" > /usr/local/etc/php/conf.d/xdebug.ini \
# Enable php development services
&& docker-service enable syslog \
Expand Down
1 change: 1 addition & 0 deletions docker/php-nginx-dev/5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN set -x \
blackfire-php \
blackfire-agent \
&& pecl install xdebug-2.5.5 \

&& echo "zend_extension=xdebug.so" > /usr/local/etc/php/conf.d/xdebug.ini \
# Enable php development services
&& docker-service enable syslog \
Expand Down
2 changes: 1 addition & 1 deletion docker/php-nginx-dev/7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN set -x \
&& apt-install \
blackfire-php \
blackfire-agent \
&& pecl install xdebug \
&& pecl install xdebug-2.8.1 \
&& echo "zend_extension=xdebug.so" > /usr/local/etc/php/conf.d/xdebug.ini \
# Enable php development services
&& docker-service enable syslog \
Expand Down
2 changes: 2 additions & 0 deletions template/Dockerfile/images/php.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@
blackfire-agent \
{%- if version|int == 5 %}
&& pecl install xdebug-2.5.5 \
{% elif version == '7.0' %}
&& pecl install xdebug-2.8.1 \
{%- else %}
&& pecl install xdebug \
{%- endif %}
Expand Down

0 comments on commit 98dbe3c

Please sign in to comment.