; ───────────────────────────────────────────── ; PHP 8.4 Production Settings for CreditFair ; ───────────────────────────────────────────── [PHP] ; Display display_errors = Off display_startup_errors = Off log_errors = On error_log = /var/www/html/storage/logs/php_errors.log error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT ; Memory & Upload memory_limit = 512M upload_max_filesize = 64M post_max_size = 64M max_execution_time = 300 max_input_time = 300 max_input_vars = 10000 ; Date date.timezone = Asia/Kolkata ; Sessions session.gc_maxlifetime = 3600 ; OPcache (critical for production performance) [opcache] opcache.enable = 1 opcache.enable_cli = 0 opcache.memory_consumption = 256 opcache.interned_strings_buffer = 16 opcache.max_accelerated_files = 20000 opcache.revalidate_freq = 0 opcache.validate_timestamps = 1 opcache.save_comments = 1 opcache.fast_shutdown = 1 ; Realpath cache realpath_cache_size = 4096K realpath_cache_ttl = 600