File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ RUN git clone --recursive --depth=1 https://github.com/NoiseByNorthwest/php-spx.
3131 rm -rf /tmp/php-spx
3232
3333# Install and configure Xdebug
34- RUN pecl install xdebug && docker-php-ext-enable xdebug && \
34+ RUN pecl install xdebug && \
35+ touch /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
36+ echo "zend_extension=xdebug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
3537 echo "xdebug.mode=debug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
3638 echo "xdebug.client_host=172.20.0.1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
3739 echo "xdebug.idekey=dicoding-debug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
38- rm -rf /tmp/pear
40+ rm -rf /tmp/pear
You can’t perform that action at this time.
0 commit comments