Skip to content

v0.2.0 - Multi-Server PHP Session Support

Choose a tag to compare

@wolfsoftwaresystemsltd wolfsoftwaresystemsltd released this 19 Jan 05:48
· 9 commits to main since this release

🌐 Multi-Server PHP Sessions

This release adds support for shared PHP sessions across multiple servers, enabling seamless load balancing without sticky sessions.

✨ New Features

  • Configurable PHP session storage - Set session_save_path in config for shared storage
  • Interactive installer - Prompts for all configuration options during install
  • Non-interactive mode - Use -y flag with environment variables for automation
  • Updated documentation - Full multi-server session setup guide in README

βš™οΈ Configuration

[php]
fpm_address = "127.0.0.1:9993"
session_save_path = "/mnt/shared/wolfserve/sessions"

πŸ”§ Environment Variables

Variable Description Default
WOLFSERVE_HOST Server bind address 0.0.0.0
WOLFSERVE_PORT Server port 3000
WOLFSERVE_FPM_PORT PHP-FPM port 9993
WOLFSERVE_SESSION_PATH PHP session path /var/lib/php/sessions
WOLFSERVE_APACHE_DIR Apache config dir /etc/apache2

πŸ“¦ Installation

# Interactive
sudo ./install_service.sh

# Automated
sudo WOLFSERVE_SESSION_PATH="/mnt/shared/sessions" ./install_service.sh -y