Add PHP module dirs

This commit is contained in:
cytopia
2022-11-29 04:44:19 +01:00
parent 40c6d485cc
commit 52aa0d4d42
310 changed files with 5087 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
# Available Jinja2 variables:
# ---------------------------
# * {{ php_all_versions }}: Array of all PHP versions
all:
type: custom
command: |
version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \
&& mkdir -p /tmp/blackfire \
&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \
&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \