php ini
This commit is contained in:
22
php/php.ini
22
php/php.ini
@@ -6,7 +6,7 @@
|
|||||||
display_errors = 0
|
display_errors = 0
|
||||||
error_reporting = E_ALL
|
error_reporting = E_ALL
|
||||||
log_errors = On
|
log_errors = On
|
||||||
error_log = /var/log/php_errors.log
|
error_log = php://stderr
|
||||||
|
|
||||||
; File Upload Settings
|
; File Upload Settings
|
||||||
upload_max_filesize = 512M
|
upload_max_filesize = 512M
|
||||||
@@ -14,9 +14,8 @@ post_max_size = 565M
|
|||||||
max_file_uploads = 10
|
max_file_uploads = 10
|
||||||
max_execution_time = 300
|
max_execution_time = 300
|
||||||
max_input_time = 300
|
max_input_time = 300
|
||||||
memory_limit = 256M
|
memory_limit = 768M
|
||||||
file_uploads = On
|
file_uploads = On
|
||||||
fastcgi_request_buffering off;
|
|
||||||
|
|
||||||
; Session Settings
|
; Session Settings
|
||||||
session.gc_maxlifetime = 14400
|
session.gc_maxlifetime = 14400
|
||||||
@@ -43,8 +42,15 @@ output_buffering = 4096
|
|||||||
realpath_cache_size = 4096K
|
realpath_cache_size = 4096K
|
||||||
realpath_cache_ttl = 120
|
realpath_cache_ttl = 120
|
||||||
|
|
||||||
; OpCache (for production)
|
; opcache
|
||||||
; opcache.enable=1
|
opcache.enable = 1
|
||||||
; opcache.memory_consumption=128
|
opcache.enable_cli = 1
|
||||||
; opcache.max_accelerated_files=10000
|
opcache.memory_consumption = 256
|
||||||
; opcache.revalidate_freq=2
|
opcache.max_accelerated_files = 20000
|
||||||
|
opcache.interned_strings_buffer = 16
|
||||||
|
opcache.validate_timestamps = 0
|
||||||
|
opcache.revalidate_freq = 2
|
||||||
|
opcache.max_wasted_percentage = 50
|
||||||
|
; JIT
|
||||||
|
opcache.jit = tracing
|
||||||
|
opcache.jit_buffer_size = 64M
|
||||||
Reference in New Issue
Block a user