Deploy Laravel 11 Octane with FrankenPHP & Redis on Ubuntu LTS
Complete production blueprint for deploying Laravel Octane with FrankenPHP, Caddy, and Redis on Ubuntu LTS with Serverfy zero-downtime releases.
Architectural Highlights
OCTANE_SERVER=frankenphp
OCTANE_WORKERS=auto
REDIS_CLIENT=phpredis
CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
composer install --no-dev --optimize-autoloader --no-interaction
php artisan config:cache
php artisan route:cache
php artisan view:cache
php artisan octane:reload
Blueprint FAQ
How does Serverfy handle Octane restarts during zero-downtime deployments?
Serverfy executes atomic symlink release switches and sends a graceful SIGUSR1 reload signal to FrankenPHP/Octane, allowing in-flight requests to complete while new requests hit the new release immediately.
Can I run WebSockets alongside FrankenPHP?
Yes. Serverfy natively orchestrates Laravel Reverb WebSockets as an isolated background daemon with SSL forwarding on port 443.
Deploy This Blueprint in Under 3 Minutes
Connect your VPS, select this blueprint, and deploy with automated SSL, systemd daemons, and zero downtime.