; ── THE CLUB ERP — PHP Configuration ──

upload_max_filesize = 20M
post_max_size = 25M
memory_limit = 1024M
max_execution_time = 1800
max_input_time = 240
max_input_vars = 5000

date.timezone = Africa/Cairo

; Session
session.gc_maxlifetime = 1800
session.cookie_httponly = 1
session.use_strict_mode = 1

; Error handling
display_errors = Off
log_errors = On
error_log = /var/www/html/storage/logs/php_errors.log

; OPcache
opcache.enable = 1
opcache.memory_consumption = 128
opcache.max_accelerated_files = 10000
opcache.validate_timestamps = 1
opcache.revalidate_freq = 2

; mbstring
mbstring.internal_encoding = UTF-8
mbstring.http_output = UTF-8