Skip to content

Commit

Permalink
Remove legacy xhprof
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Jan 1, 2023
1 parent 3770ac2 commit c0ee7a7
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 86 deletions.
14 changes: 1 addition & 13 deletions .ansible/group_vars/all/mods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1549,21 +1549,9 @@ extensions_available:
type: pecl
version: 2.2.7
xhprof:
disabled: [5.2]
disabled: [5.2, 5.3, 5.4, 5.5, 5.6]
all:
type: pecl
5.6:
type: pecl
version: 0.9.4
5.5:
type: pecl
version: 0.9.4
5.4:
type: pecl
version: 0.9.4
5.3:
type: pecl
version: 0.9.4
xlswriter:
disabled: [5.2, 5.3, 5.4, 5.5, 5.6]
all:
Expand Down
13 changes: 0 additions & 13 deletions Dockerfiles/mods/Dockerfile-5.3
Original file line number Diff line number Diff line change
Expand Up @@ -640,17 +640,6 @@ RUN set -eux \
&& true


# -------------------- Installing PHP Extension: xhprof --------------------
RUN set -eux \
# Installation: Version specific
# Type: PECL extension
# Default: Pecl command
&& pecl install xhprof-0.9.4 \
# Enabling
&& docker-php-ext-enable xhprof \
&& true


# -------------------- Installing PHP Extension: xmlrpc --------------------
RUN set -eux \
# Installation: Generic
Expand Down Expand Up @@ -979,8 +968,6 @@ RUN set -eux \
&& php-fpm -m | grep -oiE '^wddx$' \
&& php -m | grep -oiE '^xdebug$' \
&& php-fpm -m | grep -oiE '^xdebug$' \
&& php -m | grep -oiE '^xhprof$' \
&& php-fpm -m | grep -oiE '^xhprof$' \
&& php -m | grep -oiE '^xmlreader$' \
&& php-fpm -m | grep -oiE '^xmlreader$' \
&& php -m | grep -oiE '^xmlrpc$' \
Expand Down
13 changes: 0 additions & 13 deletions Dockerfiles/mods/Dockerfile-5.4
Original file line number Diff line number Diff line change
Expand Up @@ -651,17 +651,6 @@ RUN set -eux \
&& true


# -------------------- Installing PHP Extension: xhprof --------------------
RUN set -eux \
# Installation: Version specific
# Type: PECL extension
# Default: Pecl command
&& pecl install xhprof-0.9.4 \
# Enabling
&& docker-php-ext-enable xhprof \
&& true


# -------------------- Installing PHP Extension: xmlrpc --------------------
RUN set -eux \
# Installation: Generic
Expand Down Expand Up @@ -990,8 +979,6 @@ RUN set -eux \
&& php-fpm -m | grep -oiE '^wddx$' \
&& php -m | grep -oiE '^xdebug$' \
&& php-fpm -m | grep -oiE '^xdebug$' \
&& php -m | grep -oiE '^xhprof$' \
&& php-fpm -m | grep -oiE '^xhprof$' \
&& php -m | grep -oiE '^xmlreader$' \
&& php-fpm -m | grep -oiE '^xmlreader$' \
&& php -m | grep -oiE '^xmlrpc$' \
Expand Down
13 changes: 0 additions & 13 deletions Dockerfiles/mods/Dockerfile-5.5
Original file line number Diff line number Diff line change
Expand Up @@ -689,17 +689,6 @@ RUN set -eux \
&& true


# -------------------- Installing PHP Extension: xhprof --------------------
RUN set -eux \
# Installation: Version specific
# Type: PECL extension
# Default: Pecl command
&& pecl install xhprof-0.9.4 \
# Enabling
&& docker-php-ext-enable xhprof \
&& true


# -------------------- Installing PHP Extension: xmlrpc --------------------
RUN set -eux \
# Installation: Generic
Expand Down Expand Up @@ -1043,8 +1032,6 @@ RUN set -eux \
&& php-fpm -m | grep -oiE '^wddx$' \
&& php -m | grep -oiE '^xdebug$' \
&& php-fpm -m | grep -oiE '^xdebug$' \
&& php -m | grep -oiE '^xhprof$' \
&& php-fpm -m | grep -oiE '^xhprof$' \
&& php -m | grep -oiE '^xmlreader$' \
&& php-fpm -m | grep -oiE '^xmlreader$' \
&& php -m | grep -oiE '^xmlrpc$' \
Expand Down
13 changes: 0 additions & 13 deletions Dockerfiles/mods/Dockerfile-5.6
Original file line number Diff line number Diff line change
Expand Up @@ -708,17 +708,6 @@ RUN set -eux \
&& true


# -------------------- Installing PHP Extension: xhprof --------------------
RUN set -eux \
# Installation: Version specific
# Type: PECL extension
# Default: Pecl command
&& pecl install xhprof-0.9.4 \
# Enabling
&& docker-php-ext-enable xhprof \
&& true


# -------------------- Installing PHP Extension: xmlrpc --------------------
RUN set -eux \
# Installation: Generic
Expand Down Expand Up @@ -1061,8 +1050,6 @@ RUN set -eux \
&& php-fpm -m | grep -oiE '^wddx$' \
&& php -m | grep -oiE '^xdebug$' \
&& php-fpm -m | grep -oiE '^xdebug$' \
&& php -m | grep -oiE '^xhprof$' \
&& php-fpm -m | grep -oiE '^xhprof$' \
&& php -m | grep -oiE '^xmlreader$' \
&& php-fpm -m | grep -oiE '^xmlreader$' \
&& php -m | grep -oiE '^xmlrpc$' \
Expand Down
8 changes: 4 additions & 4 deletions doc/php-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -2199,10 +2199,10 @@ The following PHP modules are available on the `mods`, `prod`, `slim` and `work`
<tr>
<td><a href="../php_modules/xhprof">xhprof</a></td>
<td class="ext_mods_xhprof_5.2"></td>
<td class="ext_mods_xhprof_5.3"></td>
<td class="ext_mods_xhprof_5.4"></td>
<td class="ext_mods_xhprof_5.5"></td>
<td class="ext_mods_xhprof_5.6"></td>
<td class="ext_mods_xhprof_5.3"></td>
<td class="ext_mods_xhprof_5.4"></td>
<td class="ext_mods_xhprof_5.5"></td>
<td class="ext_mods_xhprof_5.6"></td>
<td class="ext_mods_xhprof_7.0">✓</td>
<td class="ext_mods_xhprof_7.1">✓</td>
<td class="ext_mods_xhprof_7.2">✓</td>
Expand Down
16 changes: 0 additions & 16 deletions php_modules/xhprof/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,3 @@

all:
type: pecl

5.6:
type: pecl
version: 0.9.4

5.5:
type: pecl
version: 0.9.4

5.4:
type: pecl
version: 0.9.4

5.3:
type: pecl
version: 0.9.4
2 changes: 1 addition & 1 deletion php_modules/xhprof/options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: xhprof

# Exclude module build/installation for the following PHP versions
exclude: [5.2]
exclude: [5.2, 5.3, 5.4, 5.5, 5.6]

# In order for this module to built correctly against all dependencies,
# the following modules must have been built first.
Expand Down

0 comments on commit c0ee7a7

Please sign in to comment.