Initial commit: Cloud Control Panel
This commit is contained in:
50
php/php.ini
Normal file
50
php/php.ini
Normal file
@@ -0,0 +1,50 @@
|
||||
; ---------------------------------------------------------------------
|
||||
; PHP Configuration for File Uploads (< 512M)
|
||||
; ---------------------------------------------------------------------
|
||||
|
||||
; Error Reporting (for development only!)
|
||||
display_errors = 0
|
||||
error_reporting = E_ALL
|
||||
log_errors = On
|
||||
error_log = /var/log/php_errors.log
|
||||
|
||||
; File Upload Settings
|
||||
upload_max_filesize = 512M
|
||||
post_max_size = 565M
|
||||
max_file_uploads = 10
|
||||
max_execution_time = 300
|
||||
max_input_time = 300
|
||||
memory_limit = 256M
|
||||
file_uploads = On
|
||||
fastcgi_request_buffering off;
|
||||
|
||||
; Session Settings
|
||||
session.gc_maxlifetime = 14400
|
||||
session.cookie_lifetime = 14400
|
||||
session.use_strict_mode = 1
|
||||
session.cookie_httponly = 1
|
||||
session.cookie_secure = 1
|
||||
session.cookie_samesite = Strict
|
||||
|
||||
; Security Settings
|
||||
expose_php = Off
|
||||
allow_url_include = Off
|
||||
allow_url_fopen = Off
|
||||
|
||||
; Character Encoding
|
||||
default_charset = UTF-8
|
||||
internal_encoding = UTF-8
|
||||
output_encoding = UTF-8
|
||||
|
||||
; Output Buffering
|
||||
output_buffering = 4096
|
||||
|
||||
; Realpath Cache
|
||||
realpath_cache_size = 4096K
|
||||
realpath_cache_ttl = 120
|
||||
|
||||
; OpCache (for production)
|
||||
; opcache.enable=1
|
||||
; opcache.memory_consumption=128
|
||||
; opcache.max_accelerated_files=10000
|
||||
; opcache.revalidate_freq=2
|
||||
Reference in New Issue
Block a user