forked from cytopia/devilbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize php.ini default configuration
- Loading branch information
Showing
36 changed files
with
1,130 additions
and
144 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |
Oops, something went wrong.