Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix xdebug version #253

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions .ansible/group_vars/all/mods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1517,17 +1517,15 @@ extensions_available:
disabled: []
all:
type: pecl
8.2:
type: git
git_url: https://github.com/xdebug/xdebug
# FIXME: revert to latest tag once PHP 8.2 support is out of alpha/beta
git_ref: 3.2.0RC2
configure: --enable-xdebug
8.1:
type: git
git_url: https://github.com/xdebug/xdebug
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
configure: --enable-xdebug
7.4:
type: pecl
version: 3.1.6
7.3:
type: pecl
version: 3.1.6
7.2:
type: pecl
version: 3.1.6
7.1:
type: pecl
version: 2.9.8
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/mods/Dockerfile-7.2
Original file line number Diff line number Diff line change
Expand Up @@ -844,10 +844,10 @@ RUN set -eux \

# -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \
# Installation: Generic
# Installation: Version specific
# Type: PECL extension
# Default: Pecl command
&& pecl install xdebug \
&& pecl install xdebug-3.1.6 \
# Enabling
&& docker-php-ext-enable xdebug \
&& true
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/mods/Dockerfile-7.3
Original file line number Diff line number Diff line change
Expand Up @@ -838,10 +838,10 @@ RUN set -eux \

# -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \
# Installation: Generic
# Installation: Version specific
# Type: PECL extension
# Default: Pecl command
&& pecl install xdebug \
&& pecl install xdebug-3.1.6 \
# Enabling
&& docker-php-ext-enable xdebug \
&& true
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/mods/Dockerfile-7.4
Original file line number Diff line number Diff line change
Expand Up @@ -825,10 +825,10 @@ RUN set -eux \

# -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \
# Installation: Generic
# Installation: Version specific
# Type: PECL extension
# Default: Pecl command
&& pecl install xdebug \
&& pecl install xdebug-3.1.6 \
# Enabling
&& docker-php-ext-enable xdebug \
&& true
Expand Down
15 changes: 4 additions & 11 deletions Dockerfiles/mods/Dockerfile-8.1
Original file line number Diff line number Diff line change
Expand Up @@ -787,17 +787,10 @@ RUN set -eux \

# -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \
# Installation: Version specific
# Type: GIT extension
&& git clone https://github.com/xdebug/xdebug /tmp/xdebug \
&& cd /tmp/xdebug \
# Custom: Branch
&& git checkout $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) \
# Default: Install command
&& phpize \
&& ./configure --enable-xdebug \
&& make -j$(getconf _NPROCESSORS_ONLN) \
&& make install \
# Installation: Generic
# Type: PECL extension
# Default: Pecl command
&& pecl install xdebug \
# Enabling
&& docker-php-ext-enable xdebug \
&& true
Expand Down
15 changes: 4 additions & 11 deletions Dockerfiles/mods/Dockerfile-8.2
Original file line number Diff line number Diff line change
Expand Up @@ -739,17 +739,10 @@ RUN set -eux \

# -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \
# Installation: Version specific
# Type: GIT extension
&& git clone https://github.com/xdebug/xdebug /tmp/xdebug \
&& cd /tmp/xdebug \
# Custom: Branch
&& git checkout 3.2.0RC2 \
# Default: Install command
&& phpize \
&& ./configure --enable-xdebug \
&& make -j$(getconf _NPROCESSORS_ONLN) \
&& make install \
# Installation: Generic
# Type: PECL extension
# Default: Pecl command
&& pecl install xdebug \
# Enabling
&& docker-php-ext-enable xdebug \
&& true
Expand Down
23 changes: 11 additions & 12 deletions php_modules/xdebug/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@
all:
type: pecl

8.2:
type: git
git_url: https://github.com/xdebug/xdebug
# FIXME: revert to latest tag once PHP 8.2 support is out of alpha/beta
git_ref: 3.2.0RC2
configure: --enable-xdebug

8.1:
type: git
git_url: https://github.com/xdebug/xdebug
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
configure: --enable-xdebug
7.4:
type: pecl
version: 3.1.6

7.3:
type: pecl
version: 3.1.6

7.2:
type: pecl
version: 3.1.6

7.1:
type: pecl
Expand Down