Skip to content

Commit

Permalink
Add PHP FPM configuration comments
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolamaral committed Oct 4, 2024
1 parent c1e8ee6 commit 8b60aa9
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions template.env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b60aa9

Please sign in to comment.