From 8b60aa905be448d8404a3845d6e9dcd5d63b3b15 Mon Sep 17 00:00:00 2001 From: diegolamaral Date: Fri, 4 Oct 2024 15:07:27 +0000 Subject: [PATCH] Add PHP FPM configuration comments --- template.env | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/template.env b/template.env index 42c5319..e746122 100644 --- a/template.env +++ b/template.env @@ -178,21 +178,36 @@ SYNCSERVERS_1_PULL_RULES= # FASTCGI_SEND_TIMEOUT=300s # FASTCGI_CONNECT_TIMEOUT=300s -# PHP fpm configuration +# PHP FPM Configuration + +## Basic PHP Settings +# Maximum memory a PHP script can use. # PHP_MEMORY_LIMIT=2048M +# Maximum execution time for a PHP script in seconds. # PHP_MAX_EXECUTION_TIME=300 +# Maximum file upload size for PHP scripts. # PHP_UPLOAD_MAX_FILESIZE=50M +# Maximum size for POST data sent to PHP. # PHP_POST_MAX_SIZE=50M +# Maximum time PHP spends parsing input data in seconds. # PHP_MAX_INPUT_TIME=300 -# Additional PHP settings +## Additional PHP Settings +# Timeout (in minutes) for user session inactivity. # PHP_TIMEOUT=60 +# Session cookie validity period in minutes. # PHP_COOKIE_TIMEOUT=10080 +# Default PHP configurations. # PHP_DEFAULTS=php +# Automatically regenerate session ID on each request. # PHP_AUTO_REGENERATE=false +# Check user agent on each request for security. # PHP_CHECK_AGENT=false +# Only send session cookies over HTTPS. # PHP_COOKIE_SECURE=true +# Domain for session cookie validity (leave empty for current domain). # PHP_COOKIE_DOMAIN= +# SameSite policy for cookies ("Lax" allows top-level navigation). # PHP_COOKIE_SAMESITE=Lax # MariaSQL/MySQL (InnoDB) configuration