From 5686e415ccea115adb870d6a64f986534f597d21 Mon Sep 17 00:00:00 2001 From: cytopia Date: Mon, 28 Jan 2019 02:34:39 +0100 Subject: [PATCH] Provide default blackfire php.ini files --- cfg/php-ini-5.6/README.md | 11 ++--- cfg/php-ini-5.6/devilbox-php.ini-blackfire | 52 ++++++++++++++++++++++ cfg/php-ini-7.0/README.md | 11 ++--- cfg/php-ini-7.0/devilbox-php.ini-blackfire | 52 ++++++++++++++++++++++ cfg/php-ini-7.1/README.md | 11 ++--- cfg/php-ini-7.1/devilbox-php.ini-blackfire | 52 ++++++++++++++++++++++ cfg/php-ini-7.2/README.md | 11 ++--- cfg/php-ini-7.2/devilbox-php.ini-blackfire | 52 ++++++++++++++++++++++ cfg/php-ini-7.3/README.md | 11 ++--- cfg/php-ini-7.3/devilbox-php.ini-blackfire | 52 ++++++++++++++++++++++ 10 files changed, 290 insertions(+), 25 deletions(-) create mode 100644 cfg/php-ini-5.6/devilbox-php.ini-blackfire create mode 100644 cfg/php-ini-7.0/devilbox-php.ini-blackfire create mode 100644 cfg/php-ini-7.1/devilbox-php.ini-blackfire create mode 100644 cfg/php-ini-7.2/devilbox-php.ini-blackfire create mode 100644 cfg/php-ini-7.3/devilbox-php.ini-blackfire diff --git a/cfg/php-ini-5.6/README.md b/cfg/php-ini-5.6/README.md index b967fcaa..b045e97a 100644 --- a/cfg/php-ini-5.6/README.md +++ b/cfg/php-ini-5.6/README.md @@ -9,12 +9,13 @@ ## Example files -This directory also holds two example files: +This directory also holds three example files: -| File | Description | -|----------------------------|-----------------------------------------| -| `devilbox-php.ini-default` | Represents current PHP default settings | -| `devilbox-php.ini-xdebug ` | Example settings for Xdebug | +| File | Description | +|------------------------------|-----------------------------------------| +| `devilbox-php.ini-blackfire` | Blackfire configuration | +| `devilbox-php.ini-default` | Represents current PHP default settings | +| `devilbox-php.ini-xdebug ` | Example settings for Xdebug | * Do not edit these example files! * Copy them to a new file (in case you want to use them) diff --git a/cfg/php-ini-5.6/devilbox-php.ini-blackfire b/cfg/php-ini-5.6/devilbox-php.ini-blackfire new file mode 100644 index 00000000..e0658985 --- /dev/null +++ b/cfg/php-ini-5.6/devilbox-php.ini-blackfire @@ -0,0 +1,52 @@ +; ############################################################ +; # Devilbox php.ini: Blackfire example +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file show a possible Xdebug example configuration +; * If this file is enabled, it will overwrite the current Xdebug settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP +; +; IMPORTANT +; --------- +; * Ensure that blackfire is enabled in .env via: PHP_MODULES_ENABLE=blackfire +; * Ensure that Xdebug is disabled in .env via: PHP_MODULES_DISABLE=xdebug + + +; +; blackfire.ini configuration +; +[blackfire] + +; Sets the socket where the agent is listening. +; Possible value can be a unix socket or a TCP address. +; Defaults to unix:///var/run/blackfire/agent.sock on Linux, +; unix:///usr/local/var/run/blackfire-agent.sock on MacOSX, +; and to tcp://127.0.0.1:8307 on Windows. +blackfire.agent_socket = tcp://blackfire:8707 + +blackfire.agent_timeout = 0.25 + +; Log verbosity level (4: debug, 3: info, 2: warning, 1: error) +blackfire.log_level = 4 + +; Log file (STDERR by default) +blackfire.log_file = /var/log/php/blackfire.log + +; Sets fine-grained configuration for Probe. +; This should be left blank in most cases. For most installs, +; the server credentials should only be set in the agent. +;blackfire.server_id = + +; Sets fine-grained configuration for Probe. +; This should be left blank in most cases. For most installs, +; the server credentials should only be set in the agent. +;blackfire.server_token = + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.0/README.md b/cfg/php-ini-7.0/README.md index b967fcaa..b045e97a 100644 --- a/cfg/php-ini-7.0/README.md +++ b/cfg/php-ini-7.0/README.md @@ -9,12 +9,13 @@ ## Example files -This directory also holds two example files: +This directory also holds three example files: -| File | Description | -|----------------------------|-----------------------------------------| -| `devilbox-php.ini-default` | Represents current PHP default settings | -| `devilbox-php.ini-xdebug ` | Example settings for Xdebug | +| File | Description | +|------------------------------|-----------------------------------------| +| `devilbox-php.ini-blackfire` | Blackfire configuration | +| `devilbox-php.ini-default` | Represents current PHP default settings | +| `devilbox-php.ini-xdebug ` | Example settings for Xdebug | * Do not edit these example files! * Copy them to a new file (in case you want to use them) diff --git a/cfg/php-ini-7.0/devilbox-php.ini-blackfire b/cfg/php-ini-7.0/devilbox-php.ini-blackfire new file mode 100644 index 00000000..e0658985 --- /dev/null +++ b/cfg/php-ini-7.0/devilbox-php.ini-blackfire @@ -0,0 +1,52 @@ +; ############################################################ +; # Devilbox php.ini: Blackfire example +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file show a possible Xdebug example configuration +; * If this file is enabled, it will overwrite the current Xdebug settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP +; +; IMPORTANT +; --------- +; * Ensure that blackfire is enabled in .env via: PHP_MODULES_ENABLE=blackfire +; * Ensure that Xdebug is disabled in .env via: PHP_MODULES_DISABLE=xdebug + + +; +; blackfire.ini configuration +; +[blackfire] + +; Sets the socket where the agent is listening. +; Possible value can be a unix socket or a TCP address. +; Defaults to unix:///var/run/blackfire/agent.sock on Linux, +; unix:///usr/local/var/run/blackfire-agent.sock on MacOSX, +; and to tcp://127.0.0.1:8307 on Windows. +blackfire.agent_socket = tcp://blackfire:8707 + +blackfire.agent_timeout = 0.25 + +; Log verbosity level (4: debug, 3: info, 2: warning, 1: error) +blackfire.log_level = 4 + +; Log file (STDERR by default) +blackfire.log_file = /var/log/php/blackfire.log + +; Sets fine-grained configuration for Probe. +; This should be left blank in most cases. For most installs, +; the server credentials should only be set in the agent. +;blackfire.server_id = + +; Sets fine-grained configuration for Probe. +; This should be left blank in most cases. For most installs, +; the server credentials should only be set in the agent. +;blackfire.server_token = + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.1/README.md b/cfg/php-ini-7.1/README.md index b967fcaa..b045e97a 100644 --- a/cfg/php-ini-7.1/README.md +++ b/cfg/php-ini-7.1/README.md @@ -9,12 +9,13 @@ ## Example files -This directory also holds two example files: +This directory also holds three example files: -| File | Description | -|----------------------------|-----------------------------------------| -| `devilbox-php.ini-default` | Represents current PHP default settings | -| `devilbox-php.ini-xdebug ` | Example settings for Xdebug | +| File | Description | +|------------------------------|-----------------------------------------| +| `devilbox-php.ini-blackfire` | Blackfire configuration | +| `devilbox-php.ini-default` | Represents current PHP default settings | +| `devilbox-php.ini-xdebug ` | Example settings for Xdebug | * Do not edit these example files! * Copy them to a new file (in case you want to use them) diff --git a/cfg/php-ini-7.1/devilbox-php.ini-blackfire b/cfg/php-ini-7.1/devilbox-php.ini-blackfire new file mode 100644 index 00000000..e0658985 --- /dev/null +++ b/cfg/php-ini-7.1/devilbox-php.ini-blackfire @@ -0,0 +1,52 @@ +; ############################################################ +; # Devilbox php.ini: Blackfire example +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file show a possible Xdebug example configuration +; * If this file is enabled, it will overwrite the current Xdebug settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP +; +; IMPORTANT +; --------- +; * Ensure that blackfire is enabled in .env via: PHP_MODULES_ENABLE=blackfire +; * Ensure that Xdebug is disabled in .env via: PHP_MODULES_DISABLE=xdebug + + +; +; blackfire.ini configuration +; +[blackfire] + +; Sets the socket where the agent is listening. +; Possible value can be a unix socket or a TCP address. +; Defaults to unix:///var/run/blackfire/agent.sock on Linux, +; unix:///usr/local/var/run/blackfire-agent.sock on MacOSX, +; and to tcp://127.0.0.1:8307 on Windows. +blackfire.agent_socket = tcp://blackfire:8707 + +blackfire.agent_timeout = 0.25 + +; Log verbosity level (4: debug, 3: info, 2: warning, 1: error) +blackfire.log_level = 4 + +; Log file (STDERR by default) +blackfire.log_file = /var/log/php/blackfire.log + +; Sets fine-grained configuration for Probe. +; This should be left blank in most cases. For most installs, +; the server credentials should only be set in the agent. +;blackfire.server_id = + +; Sets fine-grained configuration for Probe. +; This should be left blank in most cases. For most installs, +; the server credentials should only be set in the agent. +;blackfire.server_token = + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.2/README.md b/cfg/php-ini-7.2/README.md index b967fcaa..b045e97a 100644 --- a/cfg/php-ini-7.2/README.md +++ b/cfg/php-ini-7.2/README.md @@ -9,12 +9,13 @@ ## Example files -This directory also holds two example files: +This directory also holds three example files: -| File | Description | -|----------------------------|-----------------------------------------| -| `devilbox-php.ini-default` | Represents current PHP default settings | -| `devilbox-php.ini-xdebug ` | Example settings for Xdebug | +| File | Description | +|------------------------------|-----------------------------------------| +| `devilbox-php.ini-blackfire` | Blackfire configuration | +| `devilbox-php.ini-default` | Represents current PHP default settings | +| `devilbox-php.ini-xdebug ` | Example settings for Xdebug | * Do not edit these example files! * Copy them to a new file (in case you want to use them) diff --git a/cfg/php-ini-7.2/devilbox-php.ini-blackfire b/cfg/php-ini-7.2/devilbox-php.ini-blackfire new file mode 100644 index 00000000..e0658985 --- /dev/null +++ b/cfg/php-ini-7.2/devilbox-php.ini-blackfire @@ -0,0 +1,52 @@ +; ############################################################ +; # Devilbox php.ini: Blackfire example +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file show a possible Xdebug example configuration +; * If this file is enabled, it will overwrite the current Xdebug settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP +; +; IMPORTANT +; --------- +; * Ensure that blackfire is enabled in .env via: PHP_MODULES_ENABLE=blackfire +; * Ensure that Xdebug is disabled in .env via: PHP_MODULES_DISABLE=xdebug + + +; +; blackfire.ini configuration +; +[blackfire] + +; Sets the socket where the agent is listening. +; Possible value can be a unix socket or a TCP address. +; Defaults to unix:///var/run/blackfire/agent.sock on Linux, +; unix:///usr/local/var/run/blackfire-agent.sock on MacOSX, +; and to tcp://127.0.0.1:8307 on Windows. +blackfire.agent_socket = tcp://blackfire:8707 + +blackfire.agent_timeout = 0.25 + +; Log verbosity level (4: debug, 3: info, 2: warning, 1: error) +blackfire.log_level = 4 + +; Log file (STDERR by default) +blackfire.log_file = /var/log/php/blackfire.log + +; Sets fine-grained configuration for Probe. +; This should be left blank in most cases. For most installs, +; the server credentials should only be set in the agent. +;blackfire.server_id = + +; Sets fine-grained configuration for Probe. +; This should be left blank in most cases. For most installs, +; the server credentials should only be set in the agent. +;blackfire.server_token = + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.3/README.md b/cfg/php-ini-7.3/README.md index b967fcaa..b045e97a 100644 --- a/cfg/php-ini-7.3/README.md +++ b/cfg/php-ini-7.3/README.md @@ -9,12 +9,13 @@ ## Example files -This directory also holds two example files: +This directory also holds three example files: -| File | Description | -|----------------------------|-----------------------------------------| -| `devilbox-php.ini-default` | Represents current PHP default settings | -| `devilbox-php.ini-xdebug ` | Example settings for Xdebug | +| File | Description | +|------------------------------|-----------------------------------------| +| `devilbox-php.ini-blackfire` | Blackfire configuration | +| `devilbox-php.ini-default` | Represents current PHP default settings | +| `devilbox-php.ini-xdebug ` | Example settings for Xdebug | * Do not edit these example files! * Copy them to a new file (in case you want to use them) diff --git a/cfg/php-ini-7.3/devilbox-php.ini-blackfire b/cfg/php-ini-7.3/devilbox-php.ini-blackfire new file mode 100644 index 00000000..e0658985 --- /dev/null +++ b/cfg/php-ini-7.3/devilbox-php.ini-blackfire @@ -0,0 +1,52 @@ +; ############################################################ +; # Devilbox php.ini: Blackfire example +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file show a possible Xdebug example configuration +; * If this file is enabled, it will overwrite the current Xdebug settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP +; +; IMPORTANT +; --------- +; * Ensure that blackfire is enabled in .env via: PHP_MODULES_ENABLE=blackfire +; * Ensure that Xdebug is disabled in .env via: PHP_MODULES_DISABLE=xdebug + + +; +; blackfire.ini configuration +; +[blackfire] + +; Sets the socket where the agent is listening. +; Possible value can be a unix socket or a TCP address. +; Defaults to unix:///var/run/blackfire/agent.sock on Linux, +; unix:///usr/local/var/run/blackfire-agent.sock on MacOSX, +; and to tcp://127.0.0.1:8307 on Windows. +blackfire.agent_socket = tcp://blackfire:8707 + +blackfire.agent_timeout = 0.25 + +; Log verbosity level (4: debug, 3: info, 2: warning, 1: error) +blackfire.log_level = 4 + +; Log file (STDERR by default) +blackfire.log_file = /var/log/php/blackfire.log + +; Sets fine-grained configuration for Probe. +; This should be left blank in most cases. For most installs, +; the server credentials should only be set in the agent. +;blackfire.server_id = + +; Sets fine-grained configuration for Probe. +; This should be left blank in most cases. For most installs, +; the server credentials should only be set in the agent. +;blackfire.server_token = + +; vim: set ft=dosini: