Commit 200822d2 authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller

Fixing xdebug for 7.1.x

parent e355121b
......@@ -6,7 +6,9 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
&& phpize \
&& git checkout xdebug_2_9 \
&& git pull \
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
&& make install \
......
......@@ -6,7 +6,9 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
&& phpize \
&& git checkout xdebug_2_9 \
&& git pull \
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
&& make install \
......
......@@ -6,7 +6,7 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
&& phpize \
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
&& make install \
......
......@@ -6,7 +6,7 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
&& phpize \
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
&& make install \
......
......@@ -6,7 +6,7 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
&& phpize \
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
&& make install \
......
......@@ -6,7 +6,7 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
&& phpize \
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
&& make install \
......
......@@ -6,7 +6,7 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
&& phpize \
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
&& make install \
......
......@@ -6,7 +6,7 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
&& phpize \
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
&& make install \
......
......@@ -6,7 +6,7 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
&& phpize \
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
&& make install \
......
......@@ -6,7 +6,7 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
&& phpize \
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
&& make install \
......
......@@ -123,6 +123,7 @@ class BuildCommand extends Command
$isPHP74 = Comparator::greaterThan($versionData['tags'][0], '7.3.99') && Comparator::lessThan($versionData['tags'][0], '8.0.0') ? true : false;
$isPHP73 = Comparator::greaterThan($versionData['tags'][0], '7.2.99') && Comparator::lessThan($versionData['tags'][0], '7.4.0') ? true : false;
$isPHP72 = Comparator::greaterThan($versionData['tags'][0], '7.1.99') && Comparator::lessThan($versionData['tags'][0], '7.3.0') ? true : false;
$isPHP71 = Comparator::greaterThan($versionData['tags'][0], '7.0.99') && Comparator::lessThan($versionData['tags'][0], '7.2.0') ? true : false;
$isPHP56 = Comparator::lessThan($versionData['tags'][0], '5.7.99') ? true : false;
$versionDir = $distDir.'/'.$version.'/'.$type;
......@@ -140,6 +141,7 @@ class BuildCommand extends Command
$template,
[
'isPHP56' => $isPHP56,
'isPHP71' => $isPHP71,
'isPHP72' => $isPHP72,
'isPHP73' => $isPHP73,
'isPHP74' => $isPHP74,
......
......@@ -6,6 +6,10 @@ RUN set -xe \
$PHPIZE_DEPS \
&& git clone git://github.com/xdebug/xdebug.git \
&& cd xdebug \
{% if isPHP71 %}{# on 7.1 use latest supported xdebug version #}
&& git checkout xdebug_2_9 \
&& git pull \
{% endif %}
&& phpize \
&& ./configure --enable-xdebug \
&& make -j2 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment