From b0eeb9b836d516d323f44c1b6f3d710a513a60b7 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sat, 4 Aug 2018 00:50:36 +0200 Subject: [PATCH] Generalize php.ini default configuration --- cfg/php-ini-5.2/.keepme | 0 cfg/php-ini-5.2/README.md | 26 +++++++++ cfg/php-ini-5.2/devilbox-php.ini-default | 63 ++++++++++++++++++++ cfg/php-ini-5.2/devilbox-php.ini-xdebug | 36 ++++++++++++ cfg/php-ini-5.3/README.md | 26 +++++++++ cfg/php-ini-5.3/devilbox-custom.ini-example | 18 ------ cfg/php-ini-5.3/devilbox-php.ini-default | 63 ++++++++++++++++++++ cfg/php-ini-5.3/devilbox-php.ini-xdebug | 36 ++++++++++++ cfg/php-ini-5.4/README.md | 26 +++++++++ cfg/php-ini-5.4/devilbox-custom.ini-example | 18 ------ cfg/php-ini-5.4/devilbox-php.ini-default | 64 +++++++++++++++++++++ cfg/php-ini-5.4/devilbox-php.ini-xdebug | 36 ++++++++++++ cfg/php-ini-5.5/README.md | 26 +++++++++ cfg/php-ini-5.5/devilbox-custom.ini-example | 18 ------ cfg/php-ini-5.5/devilbox-php.ini-default | 64 +++++++++++++++++++++ cfg/php-ini-5.5/devilbox-php.ini-xdebug | 36 ++++++++++++ cfg/php-ini-5.6/README.md | 26 +++++++++ cfg/php-ini-5.6/devilbox-custom.ini-example | 18 ------ cfg/php-ini-5.6/devilbox-php.ini-default | 64 +++++++++++++++++++++ cfg/php-ini-5.6/devilbox-php.ini-xdebug | 36 ++++++++++++ cfg/php-ini-7.0/README.md | 26 +++++++++ cfg/php-ini-7.0/devilbox-custom.ini-example | 18 ------ cfg/php-ini-7.0/devilbox-php.ini-default | 64 +++++++++++++++++++++ cfg/php-ini-7.0/devilbox-php.ini-xdebug | 36 ++++++++++++ cfg/php-ini-7.1/README.md | 26 +++++++++ cfg/php-ini-7.1/devilbox-custom.ini-example | 18 ------ cfg/php-ini-7.1/devilbox-php.ini-default | 64 +++++++++++++++++++++ cfg/php-ini-7.1/devilbox-php.ini-xdebug | 36 ++++++++++++ cfg/php-ini-7.2/README.md | 26 +++++++++ cfg/php-ini-7.2/devilbox-custom.ini-example | 18 ------ cfg/php-ini-7.2/devilbox-php.ini-default | 63 ++++++++++++++++++++ cfg/php-ini-7.2/devilbox-php.ini-xdebug | 36 ++++++++++++ cfg/php-ini-7.3/README.md | 26 +++++++++ cfg/php-ini-7.3/devilbox-custom.ini-example | 18 ------ cfg/php-ini-7.3/devilbox-php.ini-default | 63 ++++++++++++++++++++ cfg/php-ini-7.3/devilbox-php.ini-xdebug | 36 ++++++++++++ 36 files changed, 1130 insertions(+), 144 deletions(-) create mode 100644 cfg/php-ini-5.2/.keepme create mode 100644 cfg/php-ini-5.2/README.md create mode 100644 cfg/php-ini-5.2/devilbox-php.ini-default create mode 100644 cfg/php-ini-5.2/devilbox-php.ini-xdebug create mode 100644 cfg/php-ini-5.3/README.md delete mode 100644 cfg/php-ini-5.3/devilbox-custom.ini-example create mode 100644 cfg/php-ini-5.3/devilbox-php.ini-default create mode 100644 cfg/php-ini-5.3/devilbox-php.ini-xdebug create mode 100644 cfg/php-ini-5.4/README.md delete mode 100644 cfg/php-ini-5.4/devilbox-custom.ini-example create mode 100644 cfg/php-ini-5.4/devilbox-php.ini-default create mode 100644 cfg/php-ini-5.4/devilbox-php.ini-xdebug create mode 100644 cfg/php-ini-5.5/README.md delete mode 100644 cfg/php-ini-5.5/devilbox-custom.ini-example create mode 100644 cfg/php-ini-5.5/devilbox-php.ini-default create mode 100644 cfg/php-ini-5.5/devilbox-php.ini-xdebug create mode 100644 cfg/php-ini-5.6/README.md delete mode 100644 cfg/php-ini-5.6/devilbox-custom.ini-example create mode 100644 cfg/php-ini-5.6/devilbox-php.ini-default create mode 100644 cfg/php-ini-5.6/devilbox-php.ini-xdebug create mode 100644 cfg/php-ini-7.0/README.md delete mode 100644 cfg/php-ini-7.0/devilbox-custom.ini-example create mode 100644 cfg/php-ini-7.0/devilbox-php.ini-default create mode 100644 cfg/php-ini-7.0/devilbox-php.ini-xdebug create mode 100644 cfg/php-ini-7.1/README.md delete mode 100644 cfg/php-ini-7.1/devilbox-custom.ini-example create mode 100644 cfg/php-ini-7.1/devilbox-php.ini-default create mode 100644 cfg/php-ini-7.1/devilbox-php.ini-xdebug create mode 100644 cfg/php-ini-7.2/README.md delete mode 100644 cfg/php-ini-7.2/devilbox-custom.ini-example create mode 100644 cfg/php-ini-7.2/devilbox-php.ini-default create mode 100644 cfg/php-ini-7.2/devilbox-php.ini-xdebug create mode 100644 cfg/php-ini-7.3/README.md delete mode 100644 cfg/php-ini-7.3/devilbox-custom.ini-example create mode 100644 cfg/php-ini-7.3/devilbox-php.ini-default create mode 100644 cfg/php-ini-7.3/devilbox-php.ini-xdebug diff --git a/cfg/php-ini-5.2/.keepme b/cfg/php-ini-5.2/.keepme new file mode 100644 index 000000000..e69de29bb diff --git a/cfg/php-ini-5.2/README.md b/cfg/php-ini-5.2/README.md new file mode 100644 index 000000000..b967fcaa0 --- /dev/null +++ b/cfg/php-ini-5.2/README.md @@ -0,0 +1,26 @@ +# PHP ini directory + +## General + +* Add you custom php.ini files into this directory. +* Only files ending by `.ini` will be enabled +* Only files ending by `.ini` are ignored by git + + +## Example files + +This directory also holds two example files: + +| File | Description | +|----------------------------|-----------------------------------------| +| `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) + + +## Overwriting + +If multiple `.ini` files are present in this directory specifying different values for the +same settings, the last file (alphabetically by filename) will overwrite any previous values. diff --git a/cfg/php-ini-5.2/devilbox-php.ini-default b/cfg/php-ini-5.2/devilbox-php.ini-default new file mode 100644 index 000000000..598c6ec75 --- /dev/null +++ b/cfg/php-ini-5.2/devilbox-php.ini-default @@ -0,0 +1,63 @@ +; ############################################################ +; # Devilbox php.ini: Current default settings +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file shows example settings that are currently effective +; * If this file is enabled, nothing will change as it reflects the current default settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP + + + +; +; PHP.ini configuration +; +[PHP] + +; Memory +; Note: "memory_limit" should be larger than "post_max_size" +memory_limit = 512M + + +; Timeouts +max_execution_time = 120 +max_input_time = 120 + + +; Uploads +; Note: "post_max_size" should be greater than "upload_max_filesize" +post_max_size = 72M +upload_max_filesize = 64M +max_file_uploads = 20 + + +; Vars +variables_order = EGPCS +max_input_nesting_level = 64 + + +; Error reporting +; Note: error_log is dynamic and handled during start to set appropriate setting +error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED +xmlrpc_errors = Off +report_memleaks = On +display_errors = On +display_startup_errors = On +track_errors = On +log_errors = On +html_errors = On + + +; Xdebug settings +xdebug.default_enable = Off +xdebug.profiler_enable = Off +xdebug.remote_enable = Off +xdebug.remote_autostart = Off + +; vim: set ft=dosini: diff --git a/cfg/php-ini-5.2/devilbox-php.ini-xdebug b/cfg/php-ini-5.2/devilbox-php.ini-xdebug new file mode 100644 index 000000000..d3e977b55 --- /dev/null +++ b/cfg/php-ini-5.2/devilbox-php.ini-xdebug @@ -0,0 +1,36 @@ +; ############################################################ +; # Devilbox php.ini: Xdebug 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 + + + +; +; PHP.ini configuration +; +[PHP] + +; Xdebug +; Use these settings to enable Xdebug for PHP +; Make sure to read up on Xdebug some settings might significantly slow down requests. +; The following is just an example configuration and should be adjusted +xdebug.default_enable = On +xdebug.profiler_enable = On +xdebug.remote_enable = On +xdebug.remote_autostart = On +xdebug.remote_handler = dbgp +xdebug.remote_port = 9000 +xdebug.idekey = PHPSTORM +xdebug.remote_log = /var/log/php/xdebug.log + +; vim: set ft=dosini: diff --git a/cfg/php-ini-5.3/README.md b/cfg/php-ini-5.3/README.md new file mode 100644 index 000000000..b967fcaa0 --- /dev/null +++ b/cfg/php-ini-5.3/README.md @@ -0,0 +1,26 @@ +# PHP ini directory + +## General + +* Add you custom php.ini files into this directory. +* Only files ending by `.ini` will be enabled +* Only files ending by `.ini` are ignored by git + + +## Example files + +This directory also holds two example files: + +| File | Description | +|----------------------------|-----------------------------------------| +| `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) + + +## Overwriting + +If multiple `.ini` files are present in this directory specifying different values for the +same settings, the last file (alphabetically by filename) will overwrite any previous values. diff --git a/cfg/php-ini-5.3/devilbox-custom.ini-example b/cfg/php-ini-5.3/devilbox-custom.ini-example deleted file mode 100644 index 0d74166db..000000000 --- a/cfg/php-ini-5.3/devilbox-custom.ini-example +++ /dev/null @@ -1,18 +0,0 @@ -[PHP] -; Memory -memory_limit = 4096M - -; Timeouts -max_execution_time = 180 -max_input_time = 180 -; Uploads -post_max_size = 1990M -upload_max_filesize = 1990M - -; Vars -max_input_vars = 8000 - -; Error reporting -error_reporting = E_ALL -display_errors = On -track_errors = On diff --git a/cfg/php-ini-5.3/devilbox-php.ini-default b/cfg/php-ini-5.3/devilbox-php.ini-default new file mode 100644 index 000000000..598c6ec75 --- /dev/null +++ b/cfg/php-ini-5.3/devilbox-php.ini-default @@ -0,0 +1,63 @@ +; ############################################################ +; # Devilbox php.ini: Current default settings +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file shows example settings that are currently effective +; * If this file is enabled, nothing will change as it reflects the current default settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP + + + +; +; PHP.ini configuration +; +[PHP] + +; Memory +; Note: "memory_limit" should be larger than "post_max_size" +memory_limit = 512M + + +; Timeouts +max_execution_time = 120 +max_input_time = 120 + + +; Uploads +; Note: "post_max_size" should be greater than "upload_max_filesize" +post_max_size = 72M +upload_max_filesize = 64M +max_file_uploads = 20 + + +; Vars +variables_order = EGPCS +max_input_nesting_level = 64 + + +; Error reporting +; Note: error_log is dynamic and handled during start to set appropriate setting +error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED +xmlrpc_errors = Off +report_memleaks = On +display_errors = On +display_startup_errors = On +track_errors = On +log_errors = On +html_errors = On + + +; Xdebug settings +xdebug.default_enable = Off +xdebug.profiler_enable = Off +xdebug.remote_enable = Off +xdebug.remote_autostart = Off + +; vim: set ft=dosini: diff --git a/cfg/php-ini-5.3/devilbox-php.ini-xdebug b/cfg/php-ini-5.3/devilbox-php.ini-xdebug new file mode 100644 index 000000000..d3e977b55 --- /dev/null +++ b/cfg/php-ini-5.3/devilbox-php.ini-xdebug @@ -0,0 +1,36 @@ +; ############################################################ +; # Devilbox php.ini: Xdebug 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 + + + +; +; PHP.ini configuration +; +[PHP] + +; Xdebug +; Use these settings to enable Xdebug for PHP +; Make sure to read up on Xdebug some settings might significantly slow down requests. +; The following is just an example configuration and should be adjusted +xdebug.default_enable = On +xdebug.profiler_enable = On +xdebug.remote_enable = On +xdebug.remote_autostart = On +xdebug.remote_handler = dbgp +xdebug.remote_port = 9000 +xdebug.idekey = PHPSTORM +xdebug.remote_log = /var/log/php/xdebug.log + +; vim: set ft=dosini: diff --git a/cfg/php-ini-5.4/README.md b/cfg/php-ini-5.4/README.md new file mode 100644 index 000000000..b967fcaa0 --- /dev/null +++ b/cfg/php-ini-5.4/README.md @@ -0,0 +1,26 @@ +# PHP ini directory + +## General + +* Add you custom php.ini files into this directory. +* Only files ending by `.ini` will be enabled +* Only files ending by `.ini` are ignored by git + + +## Example files + +This directory also holds two example files: + +| File | Description | +|----------------------------|-----------------------------------------| +| `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) + + +## Overwriting + +If multiple `.ini` files are present in this directory specifying different values for the +same settings, the last file (alphabetically by filename) will overwrite any previous values. diff --git a/cfg/php-ini-5.4/devilbox-custom.ini-example b/cfg/php-ini-5.4/devilbox-custom.ini-example deleted file mode 100644 index 0d74166db..000000000 --- a/cfg/php-ini-5.4/devilbox-custom.ini-example +++ /dev/null @@ -1,18 +0,0 @@ -[PHP] -; Memory -memory_limit = 4096M - -; Timeouts -max_execution_time = 180 -max_input_time = 180 -; Uploads -post_max_size = 1990M -upload_max_filesize = 1990M - -; Vars -max_input_vars = 8000 - -; Error reporting -error_reporting = E_ALL -display_errors = On -track_errors = On diff --git a/cfg/php-ini-5.4/devilbox-php.ini-default b/cfg/php-ini-5.4/devilbox-php.ini-default new file mode 100644 index 000000000..a12e5f326 --- /dev/null +++ b/cfg/php-ini-5.4/devilbox-php.ini-default @@ -0,0 +1,64 @@ +; ############################################################ +; # Devilbox php.ini: Current default settings +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file shows example settings that are currently effective +; * If this file is enabled, nothing will change as it reflects the current default settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP + + + +; +; PHP.ini configuration +; +[PHP] + +; Memory +; Note: "memory_limit" should be larger than "post_max_size" +memory_limit = 512M + + +; Timeouts +max_execution_time = 120 +max_input_time = 120 + + +; Uploads +; Note: "post_max_size" should be greater than "upload_max_filesize" +post_max_size = 72M +upload_max_filesize = 64M +max_file_uploads = 20 + + +; Vars +variables_order = EGPCS +max_input_vars = 8000 +max_input_nesting_level = 64 + + +; Error reporting +; Note: error_log is dynamic and handled during start to set appropriate setting +error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED +xmlrpc_errors = Off +report_memleaks = On +display_errors = On +display_startup_errors = On +track_errors = On +log_errors = On +html_errors = On + + +; Xdebug settings +xdebug.default_enable = Off +xdebug.profiler_enable = Off +xdebug.remote_enable = Off +xdebug.remote_autostart = Off + +; vim: set ft=dosini: diff --git a/cfg/php-ini-5.4/devilbox-php.ini-xdebug b/cfg/php-ini-5.4/devilbox-php.ini-xdebug new file mode 100644 index 000000000..d3e977b55 --- /dev/null +++ b/cfg/php-ini-5.4/devilbox-php.ini-xdebug @@ -0,0 +1,36 @@ +; ############################################################ +; # Devilbox php.ini: Xdebug 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 + + + +; +; PHP.ini configuration +; +[PHP] + +; Xdebug +; Use these settings to enable Xdebug for PHP +; Make sure to read up on Xdebug some settings might significantly slow down requests. +; The following is just an example configuration and should be adjusted +xdebug.default_enable = On +xdebug.profiler_enable = On +xdebug.remote_enable = On +xdebug.remote_autostart = On +xdebug.remote_handler = dbgp +xdebug.remote_port = 9000 +xdebug.idekey = PHPSTORM +xdebug.remote_log = /var/log/php/xdebug.log + +; vim: set ft=dosini: diff --git a/cfg/php-ini-5.5/README.md b/cfg/php-ini-5.5/README.md new file mode 100644 index 000000000..b967fcaa0 --- /dev/null +++ b/cfg/php-ini-5.5/README.md @@ -0,0 +1,26 @@ +# PHP ini directory + +## General + +* Add you custom php.ini files into this directory. +* Only files ending by `.ini` will be enabled +* Only files ending by `.ini` are ignored by git + + +## Example files + +This directory also holds two example files: + +| File | Description | +|----------------------------|-----------------------------------------| +| `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) + + +## Overwriting + +If multiple `.ini` files are present in this directory specifying different values for the +same settings, the last file (alphabetically by filename) will overwrite any previous values. diff --git a/cfg/php-ini-5.5/devilbox-custom.ini-example b/cfg/php-ini-5.5/devilbox-custom.ini-example deleted file mode 100644 index 0d74166db..000000000 --- a/cfg/php-ini-5.5/devilbox-custom.ini-example +++ /dev/null @@ -1,18 +0,0 @@ -[PHP] -; Memory -memory_limit = 4096M - -; Timeouts -max_execution_time = 180 -max_input_time = 180 -; Uploads -post_max_size = 1990M -upload_max_filesize = 1990M - -; Vars -max_input_vars = 8000 - -; Error reporting -error_reporting = E_ALL -display_errors = On -track_errors = On diff --git a/cfg/php-ini-5.5/devilbox-php.ini-default b/cfg/php-ini-5.5/devilbox-php.ini-default new file mode 100644 index 000000000..a12e5f326 --- /dev/null +++ b/cfg/php-ini-5.5/devilbox-php.ini-default @@ -0,0 +1,64 @@ +; ############################################################ +; # Devilbox php.ini: Current default settings +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file shows example settings that are currently effective +; * If this file is enabled, nothing will change as it reflects the current default settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP + + + +; +; PHP.ini configuration +; +[PHP] + +; Memory +; Note: "memory_limit" should be larger than "post_max_size" +memory_limit = 512M + + +; Timeouts +max_execution_time = 120 +max_input_time = 120 + + +; Uploads +; Note: "post_max_size" should be greater than "upload_max_filesize" +post_max_size = 72M +upload_max_filesize = 64M +max_file_uploads = 20 + + +; Vars +variables_order = EGPCS +max_input_vars = 8000 +max_input_nesting_level = 64 + + +; Error reporting +; Note: error_log is dynamic and handled during start to set appropriate setting +error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED +xmlrpc_errors = Off +report_memleaks = On +display_errors = On +display_startup_errors = On +track_errors = On +log_errors = On +html_errors = On + + +; Xdebug settings +xdebug.default_enable = Off +xdebug.profiler_enable = Off +xdebug.remote_enable = Off +xdebug.remote_autostart = Off + +; vim: set ft=dosini: diff --git a/cfg/php-ini-5.5/devilbox-php.ini-xdebug b/cfg/php-ini-5.5/devilbox-php.ini-xdebug new file mode 100644 index 000000000..d3e977b55 --- /dev/null +++ b/cfg/php-ini-5.5/devilbox-php.ini-xdebug @@ -0,0 +1,36 @@ +; ############################################################ +; # Devilbox php.ini: Xdebug 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 + + + +; +; PHP.ini configuration +; +[PHP] + +; Xdebug +; Use these settings to enable Xdebug for PHP +; Make sure to read up on Xdebug some settings might significantly slow down requests. +; The following is just an example configuration and should be adjusted +xdebug.default_enable = On +xdebug.profiler_enable = On +xdebug.remote_enable = On +xdebug.remote_autostart = On +xdebug.remote_handler = dbgp +xdebug.remote_port = 9000 +xdebug.idekey = PHPSTORM +xdebug.remote_log = /var/log/php/xdebug.log + +; vim: set ft=dosini: diff --git a/cfg/php-ini-5.6/README.md b/cfg/php-ini-5.6/README.md new file mode 100644 index 000000000..b967fcaa0 --- /dev/null +++ b/cfg/php-ini-5.6/README.md @@ -0,0 +1,26 @@ +# PHP ini directory + +## General + +* Add you custom php.ini files into this directory. +* Only files ending by `.ini` will be enabled +* Only files ending by `.ini` are ignored by git + + +## Example files + +This directory also holds two example files: + +| File | Description | +|----------------------------|-----------------------------------------| +| `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) + + +## Overwriting + +If multiple `.ini` files are present in this directory specifying different values for the +same settings, the last file (alphabetically by filename) will overwrite any previous values. diff --git a/cfg/php-ini-5.6/devilbox-custom.ini-example b/cfg/php-ini-5.6/devilbox-custom.ini-example deleted file mode 100644 index 0d74166db..000000000 --- a/cfg/php-ini-5.6/devilbox-custom.ini-example +++ /dev/null @@ -1,18 +0,0 @@ -[PHP] -; Memory -memory_limit = 4096M - -; Timeouts -max_execution_time = 180 -max_input_time = 180 -; Uploads -post_max_size = 1990M -upload_max_filesize = 1990M - -; Vars -max_input_vars = 8000 - -; Error reporting -error_reporting = E_ALL -display_errors = On -track_errors = On diff --git a/cfg/php-ini-5.6/devilbox-php.ini-default b/cfg/php-ini-5.6/devilbox-php.ini-default new file mode 100644 index 000000000..a12e5f326 --- /dev/null +++ b/cfg/php-ini-5.6/devilbox-php.ini-default @@ -0,0 +1,64 @@ +; ############################################################ +; # Devilbox php.ini: Current default settings +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file shows example settings that are currently effective +; * If this file is enabled, nothing will change as it reflects the current default settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP + + + +; +; PHP.ini configuration +; +[PHP] + +; Memory +; Note: "memory_limit" should be larger than "post_max_size" +memory_limit = 512M + + +; Timeouts +max_execution_time = 120 +max_input_time = 120 + + +; Uploads +; Note: "post_max_size" should be greater than "upload_max_filesize" +post_max_size = 72M +upload_max_filesize = 64M +max_file_uploads = 20 + + +; Vars +variables_order = EGPCS +max_input_vars = 8000 +max_input_nesting_level = 64 + + +; Error reporting +; Note: error_log is dynamic and handled during start to set appropriate setting +error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED +xmlrpc_errors = Off +report_memleaks = On +display_errors = On +display_startup_errors = On +track_errors = On +log_errors = On +html_errors = On + + +; Xdebug settings +xdebug.default_enable = Off +xdebug.profiler_enable = Off +xdebug.remote_enable = Off +xdebug.remote_autostart = Off + +; vim: set ft=dosini: diff --git a/cfg/php-ini-5.6/devilbox-php.ini-xdebug b/cfg/php-ini-5.6/devilbox-php.ini-xdebug new file mode 100644 index 000000000..d3e977b55 --- /dev/null +++ b/cfg/php-ini-5.6/devilbox-php.ini-xdebug @@ -0,0 +1,36 @@ +; ############################################################ +; # Devilbox php.ini: Xdebug 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 + + + +; +; PHP.ini configuration +; +[PHP] + +; Xdebug +; Use these settings to enable Xdebug for PHP +; Make sure to read up on Xdebug some settings might significantly slow down requests. +; The following is just an example configuration and should be adjusted +xdebug.default_enable = On +xdebug.profiler_enable = On +xdebug.remote_enable = On +xdebug.remote_autostart = On +xdebug.remote_handler = dbgp +xdebug.remote_port = 9000 +xdebug.idekey = PHPSTORM +xdebug.remote_log = /var/log/php/xdebug.log + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.0/README.md b/cfg/php-ini-7.0/README.md new file mode 100644 index 000000000..b967fcaa0 --- /dev/null +++ b/cfg/php-ini-7.0/README.md @@ -0,0 +1,26 @@ +# PHP ini directory + +## General + +* Add you custom php.ini files into this directory. +* Only files ending by `.ini` will be enabled +* Only files ending by `.ini` are ignored by git + + +## Example files + +This directory also holds two example files: + +| File | Description | +|----------------------------|-----------------------------------------| +| `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) + + +## Overwriting + +If multiple `.ini` files are present in this directory specifying different values for the +same settings, the last file (alphabetically by filename) will overwrite any previous values. diff --git a/cfg/php-ini-7.0/devilbox-custom.ini-example b/cfg/php-ini-7.0/devilbox-custom.ini-example deleted file mode 100644 index 0d74166db..000000000 --- a/cfg/php-ini-7.0/devilbox-custom.ini-example +++ /dev/null @@ -1,18 +0,0 @@ -[PHP] -; Memory -memory_limit = 4096M - -; Timeouts -max_execution_time = 180 -max_input_time = 180 -; Uploads -post_max_size = 1990M -upload_max_filesize = 1990M - -; Vars -max_input_vars = 8000 - -; Error reporting -error_reporting = E_ALL -display_errors = On -track_errors = On diff --git a/cfg/php-ini-7.0/devilbox-php.ini-default b/cfg/php-ini-7.0/devilbox-php.ini-default new file mode 100644 index 000000000..a12e5f326 --- /dev/null +++ b/cfg/php-ini-7.0/devilbox-php.ini-default @@ -0,0 +1,64 @@ +; ############################################################ +; # Devilbox php.ini: Current default settings +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file shows example settings that are currently effective +; * If this file is enabled, nothing will change as it reflects the current default settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP + + + +; +; PHP.ini configuration +; +[PHP] + +; Memory +; Note: "memory_limit" should be larger than "post_max_size" +memory_limit = 512M + + +; Timeouts +max_execution_time = 120 +max_input_time = 120 + + +; Uploads +; Note: "post_max_size" should be greater than "upload_max_filesize" +post_max_size = 72M +upload_max_filesize = 64M +max_file_uploads = 20 + + +; Vars +variables_order = EGPCS +max_input_vars = 8000 +max_input_nesting_level = 64 + + +; Error reporting +; Note: error_log is dynamic and handled during start to set appropriate setting +error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED +xmlrpc_errors = Off +report_memleaks = On +display_errors = On +display_startup_errors = On +track_errors = On +log_errors = On +html_errors = On + + +; Xdebug settings +xdebug.default_enable = Off +xdebug.profiler_enable = Off +xdebug.remote_enable = Off +xdebug.remote_autostart = Off + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.0/devilbox-php.ini-xdebug b/cfg/php-ini-7.0/devilbox-php.ini-xdebug new file mode 100644 index 000000000..d3e977b55 --- /dev/null +++ b/cfg/php-ini-7.0/devilbox-php.ini-xdebug @@ -0,0 +1,36 @@ +; ############################################################ +; # Devilbox php.ini: Xdebug 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 + + + +; +; PHP.ini configuration +; +[PHP] + +; Xdebug +; Use these settings to enable Xdebug for PHP +; Make sure to read up on Xdebug some settings might significantly slow down requests. +; The following is just an example configuration and should be adjusted +xdebug.default_enable = On +xdebug.profiler_enable = On +xdebug.remote_enable = On +xdebug.remote_autostart = On +xdebug.remote_handler = dbgp +xdebug.remote_port = 9000 +xdebug.idekey = PHPSTORM +xdebug.remote_log = /var/log/php/xdebug.log + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.1/README.md b/cfg/php-ini-7.1/README.md new file mode 100644 index 000000000..b967fcaa0 --- /dev/null +++ b/cfg/php-ini-7.1/README.md @@ -0,0 +1,26 @@ +# PHP ini directory + +## General + +* Add you custom php.ini files into this directory. +* Only files ending by `.ini` will be enabled +* Only files ending by `.ini` are ignored by git + + +## Example files + +This directory also holds two example files: + +| File | Description | +|----------------------------|-----------------------------------------| +| `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) + + +## Overwriting + +If multiple `.ini` files are present in this directory specifying different values for the +same settings, the last file (alphabetically by filename) will overwrite any previous values. diff --git a/cfg/php-ini-7.1/devilbox-custom.ini-example b/cfg/php-ini-7.1/devilbox-custom.ini-example deleted file mode 100644 index 0d74166db..000000000 --- a/cfg/php-ini-7.1/devilbox-custom.ini-example +++ /dev/null @@ -1,18 +0,0 @@ -[PHP] -; Memory -memory_limit = 4096M - -; Timeouts -max_execution_time = 180 -max_input_time = 180 -; Uploads -post_max_size = 1990M -upload_max_filesize = 1990M - -; Vars -max_input_vars = 8000 - -; Error reporting -error_reporting = E_ALL -display_errors = On -track_errors = On diff --git a/cfg/php-ini-7.1/devilbox-php.ini-default b/cfg/php-ini-7.1/devilbox-php.ini-default new file mode 100644 index 000000000..a12e5f326 --- /dev/null +++ b/cfg/php-ini-7.1/devilbox-php.ini-default @@ -0,0 +1,64 @@ +; ############################################################ +; # Devilbox php.ini: Current default settings +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file shows example settings that are currently effective +; * If this file is enabled, nothing will change as it reflects the current default settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP + + + +; +; PHP.ini configuration +; +[PHP] + +; Memory +; Note: "memory_limit" should be larger than "post_max_size" +memory_limit = 512M + + +; Timeouts +max_execution_time = 120 +max_input_time = 120 + + +; Uploads +; Note: "post_max_size" should be greater than "upload_max_filesize" +post_max_size = 72M +upload_max_filesize = 64M +max_file_uploads = 20 + + +; Vars +variables_order = EGPCS +max_input_vars = 8000 +max_input_nesting_level = 64 + + +; Error reporting +; Note: error_log is dynamic and handled during start to set appropriate setting +error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED +xmlrpc_errors = Off +report_memleaks = On +display_errors = On +display_startup_errors = On +track_errors = On +log_errors = On +html_errors = On + + +; Xdebug settings +xdebug.default_enable = Off +xdebug.profiler_enable = Off +xdebug.remote_enable = Off +xdebug.remote_autostart = Off + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.1/devilbox-php.ini-xdebug b/cfg/php-ini-7.1/devilbox-php.ini-xdebug new file mode 100644 index 000000000..d3e977b55 --- /dev/null +++ b/cfg/php-ini-7.1/devilbox-php.ini-xdebug @@ -0,0 +1,36 @@ +; ############################################################ +; # Devilbox php.ini: Xdebug 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 + + + +; +; PHP.ini configuration +; +[PHP] + +; Xdebug +; Use these settings to enable Xdebug for PHP +; Make sure to read up on Xdebug some settings might significantly slow down requests. +; The following is just an example configuration and should be adjusted +xdebug.default_enable = On +xdebug.profiler_enable = On +xdebug.remote_enable = On +xdebug.remote_autostart = On +xdebug.remote_handler = dbgp +xdebug.remote_port = 9000 +xdebug.idekey = PHPSTORM +xdebug.remote_log = /var/log/php/xdebug.log + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.2/README.md b/cfg/php-ini-7.2/README.md new file mode 100644 index 000000000..b967fcaa0 --- /dev/null +++ b/cfg/php-ini-7.2/README.md @@ -0,0 +1,26 @@ +# PHP ini directory + +## General + +* Add you custom php.ini files into this directory. +* Only files ending by `.ini` will be enabled +* Only files ending by `.ini` are ignored by git + + +## Example files + +This directory also holds two example files: + +| File | Description | +|----------------------------|-----------------------------------------| +| `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) + + +## Overwriting + +If multiple `.ini` files are present in this directory specifying different values for the +same settings, the last file (alphabetically by filename) will overwrite any previous values. diff --git a/cfg/php-ini-7.2/devilbox-custom.ini-example b/cfg/php-ini-7.2/devilbox-custom.ini-example deleted file mode 100644 index 0d74166db..000000000 --- a/cfg/php-ini-7.2/devilbox-custom.ini-example +++ /dev/null @@ -1,18 +0,0 @@ -[PHP] -; Memory -memory_limit = 4096M - -; Timeouts -max_execution_time = 180 -max_input_time = 180 -; Uploads -post_max_size = 1990M -upload_max_filesize = 1990M - -; Vars -max_input_vars = 8000 - -; Error reporting -error_reporting = E_ALL -display_errors = On -track_errors = On diff --git a/cfg/php-ini-7.2/devilbox-php.ini-default b/cfg/php-ini-7.2/devilbox-php.ini-default new file mode 100644 index 000000000..83d037120 --- /dev/null +++ b/cfg/php-ini-7.2/devilbox-php.ini-default @@ -0,0 +1,63 @@ +; ############################################################ +; # Devilbox php.ini: Current default settings +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file shows example settings that are currently effective +; * If this file is enabled, nothing will change as it reflects the current default settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP + + + +; +; PHP.ini configuration +; +[PHP] + +; Memory +; Note: "memory_limit" should be larger than "post_max_size" +memory_limit = 512M + + +; Timeouts +max_execution_time = 120 +max_input_time = 120 + + +; Uploads +; Note: "post_max_size" should be greater than "upload_max_filesize" +post_max_size = 72M +upload_max_filesize = 64M +max_file_uploads = 20 + + +; Vars +variables_order = EGPCS +max_input_vars = 8000 +max_input_nesting_level = 64 + + +; Error reporting +; Note: error_log is dynamic and handled during start to set appropriate setting +error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED +xmlrpc_errors = Off +report_memleaks = On +display_errors = On +display_startup_errors = On +log_errors = On +html_errors = On + + +; Xdebug settings +xdebug.default_enable = Off +xdebug.profiler_enable = Off +xdebug.remote_enable = Off +xdebug.remote_autostart = Off + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.2/devilbox-php.ini-xdebug b/cfg/php-ini-7.2/devilbox-php.ini-xdebug new file mode 100644 index 000000000..d3e977b55 --- /dev/null +++ b/cfg/php-ini-7.2/devilbox-php.ini-xdebug @@ -0,0 +1,36 @@ +; ############################################################ +; # Devilbox php.ini: Xdebug 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 + + + +; +; PHP.ini configuration +; +[PHP] + +; Xdebug +; Use these settings to enable Xdebug for PHP +; Make sure to read up on Xdebug some settings might significantly slow down requests. +; The following is just an example configuration and should be adjusted +xdebug.default_enable = On +xdebug.profiler_enable = On +xdebug.remote_enable = On +xdebug.remote_autostart = On +xdebug.remote_handler = dbgp +xdebug.remote_port = 9000 +xdebug.idekey = PHPSTORM +xdebug.remote_log = /var/log/php/xdebug.log + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.3/README.md b/cfg/php-ini-7.3/README.md new file mode 100644 index 000000000..b967fcaa0 --- /dev/null +++ b/cfg/php-ini-7.3/README.md @@ -0,0 +1,26 @@ +# PHP ini directory + +## General + +* Add you custom php.ini files into this directory. +* Only files ending by `.ini` will be enabled +* Only files ending by `.ini` are ignored by git + + +## Example files + +This directory also holds two example files: + +| File | Description | +|----------------------------|-----------------------------------------| +| `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) + + +## Overwriting + +If multiple `.ini` files are present in this directory specifying different values for the +same settings, the last file (alphabetically by filename) will overwrite any previous values. diff --git a/cfg/php-ini-7.3/devilbox-custom.ini-example b/cfg/php-ini-7.3/devilbox-custom.ini-example deleted file mode 100644 index 0d74166db..000000000 --- a/cfg/php-ini-7.3/devilbox-custom.ini-example +++ /dev/null @@ -1,18 +0,0 @@ -[PHP] -; Memory -memory_limit = 4096M - -; Timeouts -max_execution_time = 180 -max_input_time = 180 -; Uploads -post_max_size = 1990M -upload_max_filesize = 1990M - -; Vars -max_input_vars = 8000 - -; Error reporting -error_reporting = E_ALL -display_errors = On -track_errors = On diff --git a/cfg/php-ini-7.3/devilbox-php.ini-default b/cfg/php-ini-7.3/devilbox-php.ini-default new file mode 100644 index 000000000..83d037120 --- /dev/null +++ b/cfg/php-ini-7.3/devilbox-php.ini-default @@ -0,0 +1,63 @@ +; ############################################################ +; # Devilbox php.ini: Current default settings +; ############################################################ +; +; Information +; ----------- +; * Do not edit this file (it belongs to git) +; * This file shows example settings that are currently effective +; * If this file is enabled, nothing will change as it reflects the current default settings +; +; How to enable? +; -------------- +; * Copy this file to another file with ".ini" extension +; * Only files with ".ini" extensions will be applied by PHP + + + +; +; PHP.ini configuration +; +[PHP] + +; Memory +; Note: "memory_limit" should be larger than "post_max_size" +memory_limit = 512M + + +; Timeouts +max_execution_time = 120 +max_input_time = 120 + + +; Uploads +; Note: "post_max_size" should be greater than "upload_max_filesize" +post_max_size = 72M +upload_max_filesize = 64M +max_file_uploads = 20 + + +; Vars +variables_order = EGPCS +max_input_vars = 8000 +max_input_nesting_level = 64 + + +; Error reporting +; Note: error_log is dynamic and handled during start to set appropriate setting +error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED +xmlrpc_errors = Off +report_memleaks = On +display_errors = On +display_startup_errors = On +log_errors = On +html_errors = On + + +; Xdebug settings +xdebug.default_enable = Off +xdebug.profiler_enable = Off +xdebug.remote_enable = Off +xdebug.remote_autostart = Off + +; vim: set ft=dosini: diff --git a/cfg/php-ini-7.3/devilbox-php.ini-xdebug b/cfg/php-ini-7.3/devilbox-php.ini-xdebug new file mode 100644 index 000000000..d3e977b55 --- /dev/null +++ b/cfg/php-ini-7.3/devilbox-php.ini-xdebug @@ -0,0 +1,36 @@ +; ############################################################ +; # Devilbox php.ini: Xdebug 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 + + + +; +; PHP.ini configuration +; +[PHP] + +; Xdebug +; Use these settings to enable Xdebug for PHP +; Make sure to read up on Xdebug some settings might significantly slow down requests. +; The following is just an example configuration and should be adjusted +xdebug.default_enable = On +xdebug.profiler_enable = On +xdebug.remote_enable = On +xdebug.remote_autostart = On +xdebug.remote_handler = dbgp +xdebug.remote_port = 9000 +xdebug.idekey = PHPSTORM +xdebug.remote_log = /var/log/php/xdebug.log + +; vim: set ft=dosini: