Skip to content

Commit 1a4a7b1

Browse files
authored
Fix blackfire installation documentation
The way the installtion is setup permissions for */tmp* would be changed. Making a subdirectory and performing installation there is also the recommended way on the official page: https://blackfire.io/docs/integrations/docker
1 parent afb3840 commit 1a4a7b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/performance.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,9 @@ To configure Blackfire.io follow these simple steps:
374374
```dockerfile
375375
RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
376376
&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/alpine/amd64/$version \
377-
&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp \
378-
&& mv /tmp/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \
377+
&& mkdir -p /tmp/blackfire \
378+
&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \
379+
&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \
379380
&& printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > $PHP_INI_DIR/conf.d/blackfire.ini
380381
```
381382

0 commit comments

Comments
 (0)