[PHP]
; Production settings
display_errors = Off
display_startup_errors = Off
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
log_errors = On
error_log = /var/log/php/error.log
; Memory and execution
memory_limit = 256M
max_execution_time = 60
max_input_time = 60
; Upload settings
upload_max_filesize = 50M
post_max_size = 50M
max_file_uploads = 20
; Session settings
session.gc_maxlifetime = 1440
session.cookie_httponly = 1
session.cookie_secure = 0
session.use_strict_mode = 1
; OPcache settings
opcache.enable = 1
opcache.memory_consumption = 128
opcache.interned_strings_buffer = 8
opcache.max_accelerated_files = 10000
opcache.revalidate_freq = 0
opcache.validate_timestamps = 0
opcache.save_comments = 1
; Timezone
date.timezone = UTC
; Security
expose_php = Off
|