# PHP Configuration for Laravel upload_max_filesize = 50M post_max_size = 50M memory_limit = 512M max_execution_time = 600 max_input_time = 600 max_input_vars = 3000 # OPcache settings for production opcache.enable = 1 opcache.enable_cli = 1 opcache.memory_consumption = 256 opcache.interned_strings_buffer = 16 opcache.max_accelerated_files = 10000 opcache.revalidate_freq = 0 opcache.validate_timestamps = 0 opcache.save_comments = 1 opcache.fast_shutdown = 1 # Error reporting 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 # Session settings session.gc_maxlifetime = 1440 session.cookie_secure = 0 session.cookie_httponly = 1 session.cookie_samesite = Lax # Date timezone date.timezone = UTC # Extensions extension=pdo_mysql extension=mbstring extension=openssl extension=tokenizer extension=xml extension=ctype extension=json extension=bcmath extension=redis extension=zip extension=gd extension=imagick