; memory_limit = 512M upload_max_filesize = 64M post_max_size = 64M max_execution_time = 120 ; --------------------------------------------------------------------------- ; Session hardening. ; Set here rather than only in src/config/session.php because ~25 files call ; session_start() directly without including that bootstrap. Setting it at the ; PHP level means the cookie is hardened no matter which entry point starts ; the session. ; --------------------------------------------------------------------------- session.cookie_httponly = 1 session.cookie_samesite = "Lax" session.use_strict_mode = 1 session.use_only_cookies = 1 ; The live site is HTTPS-only. If you need to test over plain HTTP locally, ; comment this line out locally - do not remove it from the deployed copy. session.cookie_secure = 1 ; --------------------------------------------------------------------------- ; Never render errors to visitors. They still go to the server error log. ; --------------------------------------------------------------------------- display_errors = Off display_startup_errors = Off log_errors = On expose_php = Off