-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4044a94
commit 7cde826
Showing
3 changed files
with
100 additions
and
286 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,23 +1,109 @@ | ||
[PHP] | ||
;;;;;;;;;;;;;;;;;;; | ||
; About php.ini ; | ||
;;;;;;;;;;;;;;;;;;; | ||
; PHP's initialization file, generally called php.ini, is responsible for | ||
; configuring many of the aspects of PHP's behavior. | ||
|
||
[Date] | ||
; Defines the default timezone used by the date functions | ||
; http://php.net/date.timezone | ||
date.timezone=UTC | ||
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
; Error handling and logging ; | ||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
|
||
; This directive controls whether or not and where PHP will output errors, | ||
; notices and warnings too. Error output is very useful during development, but | ||
; it could be very dangerous in production environments. Depending on the code | ||
; which is triggering the error, sensitive information could potentially leak | ||
; out of your application such as database usernames and passwords or worse. | ||
; For production environments, we recommend logging errors rather than | ||
; sending them to STDOUT. | ||
; Possible Values: | ||
; Off = Do not display any errors | ||
; stderr = Display errors to STDERR (affects only CGI/CLI binaries!) | ||
; On or stdout = Display errors to STDOUT | ||
; Default Value: On | ||
; Development Value: On | ||
; Production Value: Off | ||
; http://php.net/display-errors | ||
display_errors=Off | ||
|
||
; Besides displaying errors, PHP can also log errors to locations such as a | ||
; server-specific log, STDERR, or a location specified by the error_log | ||
; directive found below. While errors should not be displayed on productions | ||
; servers they should still be monitored and logging is a great way to do that. | ||
; Default Value: Off | ||
; Development Value: On | ||
; Production Value: On | ||
; http://php.net/log-errors | ||
log_errors=On | ||
|
||
opcache.enable=1 | ||
opcache.enable_cli=1 | ||
;;;;;;;;;;;;;;;;;;; | ||
; Resource Limits ; | ||
;;;;;;;;;;;;;;;;;;; | ||
|
||
; Maximum execution time of each script, in seconds | ||
; http://php.net/max-execution-time | ||
; Note: This directive is hardcoded to 0 for the CLI SAPI | ||
max_execution_time=360 | ||
|
||
; Maximum amount of time each script may spend parsing request data. It's a good | ||
; idea to limit this time on productions servers in order to eliminate unexpectedly | ||
; long running scripts. | ||
; Note: This directive is hardcoded to -1 for the CLI SAPI | ||
; Default Value: -1 (Unlimited) | ||
; Development Value: 60 (60 seconds) | ||
; Production Value: 60 (60 seconds) | ||
; http://php.net/max-input-time | ||
max_input_time=360 | ||
|
||
; Maximum amount of memory a script may consume (128MB) | ||
; http://php.net/memory-limit | ||
memory_limit = 768M | ||
|
||
;;;;;;;;;;;;;;;; | ||
; File Uploads ; | ||
;;;;;;;;;;;;;;;; | ||
|
||
; Maximum allowed size for uploaded files. | ||
; http://php.net/upload-max-filesize | ||
|
||
upload_max_filesize = 20M | ||
; Sets max size of post data allowed. | ||
; http://php.net/post-max-size | ||
|
||
;;;;;;;;;;;;;;;;; | ||
; Data Handling ; | ||
;;;;;;;;;;;;;;;;; | ||
|
||
; Maximum size of POST data that PHP will accept. | ||
; Its value may be 0 to disable the limit. It is ignored if POST data reading | ||
; is disabled through enable_post_data_reading. | ||
; http://php.net/post-max-size | ||
post_max_size = 20M | ||
max_execution_time=360 | ||
max_input_time=360 | ||
|
||
;;;;;;;;;;;;;;;;;; | ||
; Fopen wrappers ; | ||
;;;;;;;;;;;;;;;;;; | ||
|
||
; Default timeout for socket based streams (seconds) | ||
; http://php.net/default-socket-timeout | ||
default_socket_timeout=3600 | ||
request_terminate_timeout=600 | ||
request_terminate_timeout=600 | ||
|
||
[opcache] | ||
; Determines if Zend OPCache is enabled | ||
opcache.enable=1 | ||
|
||
; Determines if Zend OPCache is enabled for the CLI version of PHP | ||
opcache.enable_cli=1 | ||
|
||
; The OPcache shared memory storage size. | ||
;opcache.memory_consumption=128 | ||
|
||
; The amount of memory for interned strings in Mbytes. | ||
;opcache.interned_strings_buffer=8 | ||
|
||
; The maximum number of keys (scripts) in the OPcache hash table. | ||
; Only numbers between 200 and 1000000 are allowed. | ||
;opcache.max_accelerated_files=10000 |
Oops, something went wrong.