[{"data":1,"prerenderedAt":2204},["ShallowReactive",2],{"navigation":3,"/docs/image-variations/frankenphp":221,"/docs/image-variations/frankenphp-surround":2199},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","/docs","docs",[9,12,56,85,132,153,178,195,208],{"title":10,"path":6,"stem":11},"","docs/index",{"title":13,"path":14,"stem":15,"children":16,"icon":55},"Getting Started","/docs/getting-started","docs/1.getting-started/1.index",[17,19,23,27,31,35,39,43,47,51],{"title":18,"path":14,"stem":15},"Introduction",{"title":20,"path":21,"stem":22},"Container Basics","/docs/getting-started/container-basics","docs/1.getting-started/2.container-basics",{"title":24,"path":25,"stem":26},"Installation","/docs/getting-started/installation","docs/1.getting-started/3.installation",{"title":28,"path":29,"stem":30},"These Images vs Others","/docs/getting-started/these-images-vs-others","docs/1.getting-started/4.these-images-vs-others",{"title":32,"path":33,"stem":34},"Choosing an Image","/docs/getting-started/choosing-an-image","docs/1.getting-started/5.choosing-an-image",{"title":36,"path":37,"stem":38},"Default Configurations","/docs/getting-started/default-configurations","docs/1.getting-started/6.default-configurations",{"title":40,"path":41,"stem":42},"Upgrade Guide","/docs/getting-started/upgrade-guide","docs/1.getting-started/7.upgrade-guide",{"title":44,"path":45,"stem":46},"Changelog","/docs/getting-started/changelog","docs/1.getting-started/8.changelog",{"title":48,"path":49,"stem":50},"About","/docs/getting-started/about","docs/1.getting-started/9.about",{"title":52,"path":53,"stem":54},"Contributing","/docs/getting-started/contributing","docs/1.getting-started/99.contributing",false,{"title":57,"path":58,"stem":59,"children":60,"page":55},"Image Variations","/docs/image-variations","docs/2.image-variations",[61,65,69,73,77,81],{"title":62,"path":63,"stem":64},"CLI","/docs/image-variations/cli","docs/2.image-variations/cli",{"title":66,"path":67,"stem":68},"FPM","/docs/image-variations/fpm","docs/2.image-variations/fpm",{"title":70,"path":71,"stem":72},"FPM-Apache","/docs/image-variations/fpm-apache","docs/2.image-variations/fpm-apache",{"title":74,"path":75,"stem":76},"FPM-NGINX","/docs/image-variations/fpm-nginx","docs/2.image-variations/fpm-nginx",{"title":78,"path":79,"stem":80},"FrankenPHP","/docs/image-variations/frankenphp","docs/2.image-variations/frankenphp",{"title":82,"path":83,"stem":84},"Unit (Deprecated)","/docs/image-variations/unit","docs/2.image-variations/unit",{"title":86,"path":87,"stem":88,"children":89,"page":55},"Framework Guides","/docs/framework-guides","docs/3.framework-guides",[90,123],{"title":91,"icon":55,"defaultOpen":55,"path":92,"stem":93,"children":94,"page":55},"Laravel","/docs/framework-guides/laravel","docs/3.framework-guides/1.laravel",[95,99,103,107,111,115,119],{"title":96,"path":97,"stem":98},"Automations","/docs/framework-guides/laravel/automations","docs/3.framework-guides/1.laravel/1.automations",{"title":100,"path":101,"stem":102},"Task Scheduler","/docs/framework-guides/laravel/task-scheduler","docs/3.framework-guides/1.laravel/2.task-scheduler",{"title":104,"path":105,"stem":106},"Queue","/docs/framework-guides/laravel/queue","docs/3.framework-guides/1.laravel/3.queue",{"title":108,"path":109,"stem":110},"Horizon","/docs/framework-guides/laravel/horizon","docs/3.framework-guides/1.laravel/4.horizon",{"title":112,"path":113,"stem":114},"Reverb","/docs/framework-guides/laravel/reverb","docs/3.framework-guides/1.laravel/4.reverb",{"title":116,"path":117,"stem":118},"Nightwatch","/docs/framework-guides/laravel/nightwatch","docs/3.framework-guides/1.laravel/5.nightwatch",{"title":120,"path":121,"stem":122},"Octane","/docs/framework-guides/laravel/octane","docs/3.framework-guides/1.laravel/octane",{"title":124,"icon":55,"defaultOpen":55,"path":125,"stem":126,"children":127,"page":55},"WordPress","/docs/framework-guides/wordpress","docs/3.framework-guides/2.wordpress",[128],{"title":129,"path":130,"stem":131},"Using Docker with WordPress","/docs/framework-guides/wordpress/using-wordpress-with-docker","docs/3.framework-guides/2.wordpress/4.using-wordpress-with-docker",{"title":133,"path":134,"stem":135,"children":136,"page":55},"Deployment And Production","/docs/deployment-and-production","docs/4.deployment-and-production",[137,141,145,149],{"title":138,"path":139,"stem":140},"Development to Production","/docs/deployment-and-production/development-to-production","docs/4.deployment-and-production/2.development-to-production",{"title":142,"path":143,"stem":144},"Packaging Your App for Deployment","/docs/deployment-and-production/packaging-your-app-for-deployment","docs/4.deployment-and-production/3.packaging-your-app-for-deployment",{"title":146,"path":147,"stem":148},"Configuring SSL","/docs/deployment-and-production/configuring-ssl","docs/4.deployment-and-production/4.configuring-ssl",{"title":150,"path":151,"stem":152},"Choosing a Host","/docs/deployment-and-production/choosing-a-host","docs/4.deployment-and-production/5.choosing-a-host",{"title":154,"icon":55,"defaultOpen":55,"path":155,"stem":156,"children":157,"page":55},"Advanced Guides","/docs/guide","docs/5.guide",[158,162,166,170,174],{"title":159,"path":160,"stem":161},"Migrating from official PHP images","/docs/guide/migrating-from-official-php-images","docs/5.guide/1.migrating-from-official-php-images",{"title":163,"path":164,"stem":165},"Using Healthchecks With Laravel","/docs/guide/using-healthchecks-with-laravel","docs/5.guide/2.using-healthchecks-with-laravel",{"title":167,"path":168,"stem":169},"Using S6 Overlay","/docs/guide/using-s6-overlay","docs/5.guide/2.using-s6-overlay",{"title":171,"path":172,"stem":173},"Understanding File Permissions","/docs/guide/understanding-file-permissions","docs/5.guide/3.understanding-file-permissions",{"title":175,"path":176,"stem":177},"Configuring Trusted Proxies","/docs/guide/configuring-trusted-proxies","docs/5.guide/4.configuring-trusted-proxies",{"title":179,"icon":55,"defaultOpen":55,"path":180,"stem":181,"children":182,"page":55},"Customization","/docs/customizing-the-image","docs/6.customizing-the-image",[183,187,191],{"title":184,"path":185,"stem":186},"Changing php.ini settings","/docs/customizing-the-image/changing-common-php-settings","docs/6.customizing-the-image/1.changing-common-php-settings",{"title":188,"path":189,"stem":190},"Installing PHP extensions","/docs/customizing-the-image/installing-additional-php-extensions","docs/6.customizing-the-image/2.installing-additional-php-extensions",{"title":192,"path":193,"stem":194},"Adding Start Up Scripts","/docs/customizing-the-image/adding-your-own-start-up-scripts","docs/6.customizing-the-image/3.adding-your-own-start-up-scripts",{"title":196,"path":197,"stem":198,"children":199,"page":55},"Troubleshooting","/docs/troubleshooting","docs/7.troubleshooting",[200,204],{"title":201,"path":202,"stem":203},"Common Issues","/docs/troubleshooting/common-issues","docs/7.troubleshooting/1.common-issues",{"title":205,"path":206,"stem":207},"Getting Help","/docs/troubleshooting/getting-help","docs/7.troubleshooting/2.getting-help",{"title":209,"path":210,"stem":211,"children":212,"page":55},"Reference","/docs/reference","docs/8.reference",[213,217],{"title":214,"path":215,"stem":216},"Environment Variable Specification","/docs/reference/environment-variable-specification","docs/8.reference/1.environment-variable-specification",{"title":218,"path":219,"stem":220},"Command Reference","/docs/reference/command-reference","docs/8.reference/2.command-reference",{"id":222,"title":78,"body":223,"description":2193,"extension":467,"links":2194,"meta":2195,"navigation":2196,"path":79,"redirect":2194,"seo":2197,"stem":80,"__hash__":2198},"docs/docs/2.image-variations/frankenphp.md",{"type":224,"value":225,"toc":2161},"minimark",[226,236,241,244,266,271,294,298,419,425,429,446,453,471,475,478,483,490,496,518,528,532,535,540,566,635,644,648,651,656,694,698,701,706,720,728,737,741,744,749,783,786,791,795,798,803,817,820,824,980,984,987,991,1005,1009,1012,1025,1028,1033,1037,1071,1075,1078,1082,1123,1133,1137,1140,1149,1292,1297,1300,1303,1307,1311,1314,1324,1330,1334,1337,1340,1348,1352,1449,1456,1460,1466,1535,1538,1555,1561,1565,1569,1572,1576,1824,1832,1836,1962,1966,1969,1973,1976,2056,2122,2126,2129,2157],[227,228,229,233],"lead-p",{},[230,231,232],"p",{},"The FrankenPHP variation is a modern application server built on top of the Caddy web server. It runs PHP and the web server in a single process, eliminating the complexity of managing PHP-FPM and a separate web server.",[230,234,235],{},"This is the cutting-edge variation that offers worker mode, automatic HTTPS, and modern protocols like HTTP/2 and HTTP/3. It's the recommended variation for new Laravel projects seeking maximum performance.",[237,238,240],"h2",{"id":239},"when-to-use-frankenphp","When to Use FrankenPHP",[230,242,243],{},"Use the FrankenPHP variation when you need to:",[245,246,247,251,254,257,260,263],"ul",{},[248,249,250],"li",{},"Run Laravel Octane with maximum performance",[248,252,253],{},"Use worker mode to keep your application in memory",[248,255,256],{},"Get automatic HTTPS with zero configuration",[248,258,259],{},"Support modern protocols like HTTP/2 and HTTP/3",[248,261,262],{},"Simplify your container architecture (single process)",[248,264,265],{},"Deploy Symfony applications with the Runtime component",[267,268,270],"h4",{"id":269},"perfect-for","Perfect for",[245,272,273,276,279,282,285,288,291],{},[248,274,275],{},"Laravel Octane applications",[248,277,278],{},"Symfony applications using the Runtime component",[248,280,281],{},"Modern PHP applications that can benefit from worker mode",[248,283,284],{},"Projects requiring automatic HTTPS",[248,286,287],{},"High-performance APIs that benefit from persistent connections",[248,289,290],{},"Teams wanting the latest and greatest in PHP application servers",[248,292,293],{},"Apps that need PHP 8.3 or newer",[237,295,297],{"id":296},"comparing-frankenphp-to-other-variations","Comparing FrankenPHP to Other Variations",[299,300,301,317],"table",{},[302,303,304],"thead",{},[305,306,307,311,313,315],"tr",{},[308,309,310],"th",{},"Feature",[308,312,78],{},[308,314,74],{},[308,316,70],{},[318,319,320,335,347,360,371,382,395,406],"tbody",{},[305,321,322,326,329,332],{},[323,324,325],"td",{},"Performance",[323,327,328],{},"⚡️ Excellent (worker mode)",[323,330,331],{},"✅ Very Good",[323,333,334],{},"✅ Good",[305,336,337,340,343,345],{},[323,338,339],{},"Setup Complexity",[323,341,342],{},"✅ Simple",[323,344,342],{},[323,346,342],{},[305,348,349,352,355,358],{},[323,350,351],{},"Worker Mode",[323,353,354],{},"✅ Yes",[323,356,357],{},"❌ No",[323,359,357],{},[305,361,362,365,367,369],{},[323,363,364],{},"Automatic HTTPS",[323,366,354],{},[323,368,357],{},[323,370,357],{},[305,372,373,376,378,380],{},[323,374,375],{},"HTTP/3 Support",[323,377,354],{},[323,379,357],{},[323,381,357],{},[305,383,384,387,390,393],{},[323,385,386],{},"Laravel Octane",[323,388,389],{},"✅ Native support",[323,391,392],{},"⚠️ Use Swoole",[323,394,392],{},[305,396,397,400,402,404],{},[323,398,399],{},".htaccess Support",[323,401,357],{},[323,403,357],{},[323,405,354],{},[305,407,408,411,414,417],{},[323,409,410],{},"Maturity",[323,412,413],{},"⚠️ New",[323,415,416],{},"✅ Mature",[323,418,416],{},[420,421,422],"tip",{},[230,423,424],{},"FrankenPHP is the newest variation and represents the future of PHP application servers. If you're starting a new project and can commit to modern practices, this is the variation to choose.",[267,426,428],{"id":427},"known-issues","Known Issues",[430,431,434],"warning",{"target":432,"to":433},"_blank","https://frankenphp.dev/docs/known-issues/#standalone-binary-and-alpine-based-docker-images",[230,435,436,437,441,442,445],{},"Some people are reporting performance issues on the ",[438,439,440],"code",{},"alpine"," version of FrankenPHP. If you're experiencing this, consider using the ",[438,443,444],{},"debian"," version.",[230,447,448,449,452],{},"FrankenPHP is cutting edge and is a very active project. Be sure to understand FrankenPHP's known issues before using it in production. If you're looking for better compatibility, consider using the ",[450,451,74],"a",{"href":75}," image.",[454,455],"u-button",{"ariaLabel":456,"className":457,"color":465,"label":466,"size":467,"to":468,"trailing-icon":469,"variant":470,"target":432},"FrankenPHP known issues",[458,459,460,461,462,463,464],"font-bold","ring","ring-inset","ring-blue-600","text-blue-600","hover:ring-blue-500","hover:text-blue-500","primary","View FrankenPHP's known issues","md","https://frankenphp.dev/docs/known-issues/","i-lucide-arrow-right","outline",[237,472,474],{"id":473},"differences-from-official-frankenphp-images","Differences from Official FrankenPHP Images",[230,476,477],{},"Our FrankenPHP images are built with production deployments and enterprise security in mind. While the official FrankenPHP images are great for getting started, we've made several enhancements that make these images more suitable for production environments, especially when deploying at scale with orchestrators like Kubernetes, Docker Swarm, or managed container platforms.",[479,480,482],"h3",{"id":481},"security-first-design-unprivileged-by-default","Security-First Design: Unprivileged by Default",[230,484,485,486,489],{},"Unlike the official FrankenPHP images that run as root, our images run as the unprivileged ",[438,487,488],{},"www-data"," user by default. This dramatically reduces your security footprint in production environments.",[230,491,492],{},[493,494,495],"strong",{},"What this means for you:",[245,497,498,501,508,515],{},[248,499,500],{},"Containers run with minimal privileges, following security best practices",[248,502,503,504,507],{},"HTTP listens on port ",[438,505,506],{},"8080"," (instead of 80)",[248,509,510,511,514],{},"HTTPS listens on port ",[438,512,513],{},"8443"," (instead of 443)",[248,516,517],{},"Consistent with our other image variations for a unified experience",[420,519,520],{},[230,521,522,523,527],{},"This unprivileged design is consistent across all our image variations. Learn more about our ",[450,524,526],{"href":525},"/docs/getting-started/default-configurations#unprivileged-by-default","default configurations",".",[479,529,531],{"id":530},"native-health-checks-with-laravel-integration","Native Health Checks with Laravel Integration",[230,533,534],{},"Health checks are critical for zero-downtime deployments, but the official images don't include them. Our images come with intelligent health check endpoints that work out of the box.",[230,536,537],{},[493,538,539],{},"Built-in features:",[245,541,542,549,556,563],{},[248,543,544,545,548],{},"Default ",[438,546,547],{},"/healthcheck"," endpoint configured in Caddy",[248,550,551,552,555],{},"Configurable via ",[438,553,554],{},"HEALTHCHECK_PATH"," environment variable",[248,557,558,559,562],{},"Works with Laravel's native ",[438,560,561],{},"/up"," health check endpoint",[248,564,565],{},"Ensures your application is truly ready before accepting traffic",[567,568,573],"pre",{"className":569,"code":570,"filename":571,"language":572,"meta":10,"style":10},"language-yml shiki shiki-themes github-dark","services:\n  php:\n    image: serversideup/php:8.5-frankenphp\n    environment:\n      # Use Laravel's built-in health check\n      HEALTHCHECK_PATH: /up\n","compose.yml","yml",[438,574,575,588,596,609,617,624],{"__ignoreMap":10},[576,577,580,584],"span",{"class":578,"line":579},"line",1,[576,581,583],{"class":582},"s4JwU","services",[576,585,587],{"class":586},"s95oV",":\n",[576,589,591,594],{"class":578,"line":590},2,[576,592,593],{"class":582},"  php",[576,595,587],{"class":586},[576,597,599,602,605],{"class":578,"line":598},3,[576,600,601],{"class":582},"    image",[576,603,604],{"class":586},": ",[576,606,608],{"class":607},"sU2Wk","serversideup/php:8.5-frankenphp\n",[576,610,612,615],{"class":578,"line":611},4,[576,613,614],{"class":582},"    environment",[576,616,587],{"class":586},[576,618,620],{"class":578,"line":619},5,[576,621,623],{"class":622},"sAwPA","      # Use Laravel's built-in health check\n",[576,625,627,630,632],{"class":578,"line":626},6,[576,628,629],{"class":582},"      HEALTHCHECK_PATH",[576,631,604],{"class":586},[576,633,634],{"class":607},"/up\n",[420,636,637],{},[230,638,639,640,643],{},"Learn more about ",[450,641,642],{"href":164},"using health checks with Laravel"," to ensure your application is ready before accepting requests.",[479,645,647],{"id":646},"production-grade-caddyfile-configuration","Production-Grade Caddyfile Configuration",[230,649,650],{},"The official FrankenPHP Dockerfile provides a basic Caddyfile to get started. We've spent considerable time crafting a production-ready configuration that includes security hardening, performance optimizations, and enterprise features.",[230,652,653],{},[493,654,655],{},"What's included:",[245,657,658,664,670,676,682,688],{},[248,659,660,663],{},[493,661,662],{},"CloudFlare integration"," - Trusted IP addresses configured automatically",[248,665,666,669],{},[493,667,668],{},"Security headers"," - Best-practice headers included by default",[248,671,672,675],{},[493,673,674],{},"Performance rules"," - Smart caching and compression configured",[248,677,678,681],{},[493,679,680],{},"Flexible logging"," - Configurable output formats and levels",[248,683,684,687],{},[493,685,686],{},"Self-signed certificates"," - Automatic generation for development environments",[248,689,690,693],{},[493,691,692],{},"Let's Encrypt support"," - Easy configuration for automatic SSL certificates",[479,695,697],{"id":696},"designed-for-orchestrator-deployments","Designed for Orchestrator Deployments",[230,699,700],{},"FrankenPHP's tight integration with Caddy enables amazing features like automatic Let's Encrypt SSL certificates. However, in most production deployments, you're likely using a load balancer or reverse proxy for SSL termination, making Caddy's automatic SSL less useful and potentially problematic at scale.",[230,702,703],{},[493,704,705],{},"Our orchestrator-first approach:",[245,707,708,711,714,717],{},[248,709,710],{},"Assumes SSL/TLS termination happens at the load balancer level",[248,712,713],{},"Optimized for zero-downtime rolling deployments",[248,715,716],{},"Works seamlessly with Kubernetes, Docker Swarm, and managed platforms",[248,718,719],{},"Simplifies scaling from one container to hundreds",[230,721,722],{},[723,724],"img",{":zoom":725,"alt":726,"src":727},"false","Reverse Proxy","images/docs/reverse-proxy-ssl-zerodowntime.png",[729,730,731],"note",{},[230,732,733,734,736],{},"You can still use Caddy's automatic HTTPS with Let's Encrypt if you prefer. See our ",[450,735,146],{"href":147}," guide for all available options.",[479,738,740],{"id":739},"consistent-environment-variable-experience","Consistent Environment Variable Experience",[230,742,743],{},"Just like all our other PHP variations, the FrankenPHP images support the same environment variables and helper scripts you're already familiar with.",[230,745,746],{},[493,747,748],{},"Unified configuration across all variations:",[245,750,751,768,774,777,780],{},[248,752,753,756,757,760,761,760,764,767],{},[438,754,755],{},"SSL_MODE"," - Control SSL behavior (",[438,758,759],{},"off",", ",[438,762,763],{},"mixed",[438,765,766],{},"full",")",[248,769,770,773],{},[438,771,772],{},"LOG_OUTPUT_LEVEL"," - Adjust logging verbosity",[248,775,776],{},"PHP INI settings via environment variables",[248,778,779],{},"Helper scripts for permissions management",[248,781,782],{},"Consistent startup script behavior",[230,784,785],{},"This means you can switch between variations (FrankenPHP, FPM-NGINX, FPM-Apache) with minimal configuration changes.",[454,787],{"ariaLabel":788,"className":789,"color":465,"label":790,"size":467,"to":215,"trailing-icon":469,"variant":470},"View environment variable specification",[458,459,460,461,462,463,464],"View all environment variables",[479,792,794],{"id":793},"more-operating-system-variations","More Operating System Variations",[230,796,797],{},"We compile FrankenPHP from source, which allows us to support multiple operating systems for maximum flexibility.",[230,799,800],{},[493,801,802],{},"Available platforms:",[245,804,805,808,811,814],{},[248,806,807],{},"Debian Bookworm (12)",[248,809,810],{},"Debian Trixie (13)",[248,812,813],{},"Alpine 3.21",[248,815,816],{},"Alpine 3.22",[230,818,819],{},"This gives you the freedom to choose the base OS that best fits your infrastructure and security requirements.",[267,821,823],{"id":822},"whats-inside","What's Inside",[299,825,826,836],{},[302,827,828],{},[305,829,830,833],{},[308,831,832],{},"Item",[308,834,835],{},"Status",[318,837,838,846,854,861,868,878,888,895,902,908,915,922,929,937,945,953,970],{},[305,839,840,843],{},[323,841,842],{},"FrankenPHP application server",[323,844,845],{},"✅",[305,847,848,851],{},[323,849,850],{},"Caddy web server",[323,852,853],{},"✅ (built-in)",[305,855,856,859],{},[323,857,858],{},"PHP CLI binary",[323,860,845],{},[305,862,863,866],{},[323,864,865],{},"Common PHP extensions",[323,867,845],{},[305,869,870,876],{},[323,871,872,875],{},[438,873,874],{},"composer"," executable",[323,877,845],{},[305,879,880,886],{},[323,881,882,885],{},[438,883,884],{},"install-php-extensions"," script",[323,887,845],{},[305,889,890,893],{},[323,891,892],{},"Essential system utilities",[323,894,845],{},[305,896,897,900],{},[323,898,899],{},"Worker mode support",[323,901,845],{},[305,903,904,906],{},[323,905,364],{},[323,907,845],{},[305,909,910,913],{},[323,911,912],{},"HTTP/2 support",[323,914,845],{},[305,916,917,920],{},[323,918,919],{},"HTTP/3 support",[323,921,845],{},[305,923,924,927],{},[323,925,926],{},"Mercure (real-time)",[323,928,845],{},[305,930,931,934],{},[323,932,933],{},"Native health checks",[323,935,936],{},"✅ (via HTTP endpoint)",[305,938,939,942],{},[323,940,941],{},"SSL/TLS support",[323,943,944],{},"✅ (automatic + self-signed)",[305,946,947,950],{},[323,948,949],{},"Process management",[323,951,952],{},"Single process (no supervisor needed)",[305,954,955,958],{},[323,956,957],{},"Exposed Ports",[323,959,960,962,963,965,966,969],{},[438,961,506],{}," (HTTP), ",[438,964,513],{}," (HTTPS + HTTP/3), ",[438,967,968],{},"2019"," (Caddy admin)",[305,971,972,975],{},[323,973,974],{},"Stop Signal",[323,976,977],{},[438,978,979],{},"SIGTERM",[237,981,983],{"id":982},"classic-mode-vs-worker-mode","Classic Mode vs Worker Mode",[230,985,986],{},"Unlike traditional setups that require a separate web server and PHP-FPM, FrankenPHP runs everything in a single process. It also operates in two modes:",[267,988,990],{"id":989},"classic-mode-default","Classic Mode (Default)",[245,992,993,996,999,1002],{},[248,994,995],{},"FrankenPHP functions like a traditional PHP server (similar to PHP-FPM)",[248,997,998],{},"Each request bootstraps your application fresh",[248,1000,1001],{},"No additional configuration needed",[248,1003,1004],{},"Safe for any existing PHP applications",[267,1006,1008],{"id":1007},"worker-mode-advanced","Worker Mode (Advanced)",[230,1010,1011],{},"Worker mode is FrankenPHP's killer feature. Instead of bootstrapping your application for every request, it stays loaded in memory:",[245,1013,1014,1020],{},[248,1015,1016,1019],{},[493,1017,1018],{},"Traditional",": Bootstrap app → Handle request → Teardown → Repeat",[248,1021,1022,1024],{},[493,1023,351],{},": Bootstrap app once → Handle requests indefinitely",[230,1026,1027],{},"This can result in dramatic performance improvements for Laravel applications.",[420,1029,1030],{},[230,1031,1032],{},"Worker mode is perfect for Laravel Octane. Your application boots once and handles thousands of requests without reloading, dramatically improving response times.",[237,1034,1036],{"id":1035},"how-frankenphp-works","How FrankenPHP Works",[1038,1039,1041,1045,1048,1052,1055,1064,1068],"steps",{"level":1040},"4",[267,1042,1044],{"id":1043},"client-sends-request","Client sends request",[230,1046,1047],{},"The client sends an HTTP request to port 8080 (or 8443 for HTTPS).",[267,1049,1051],{"id":1050},"frankenphp-receives-and-processes-the-request","FrankenPHP receives and processes the request",[230,1053,1054],{},"FrankenPHP receives and processes the request directly in a single process. This includes:",[1056,1057,1058,1061],"ol",{},[248,1059,1060],{},"Static files",[248,1062,1063],{},"PHP requests",[267,1065,1067],{"id":1066},"send-response-back-to-client","Send response back to client",[230,1069,1070],{},"The response is sent back to the client.",[237,1072,1074],{"id":1073},"quick-start","Quick Start",[230,1076,1077],{},"Here are a few examples to help you get started with the FrankenPHP variation.",[479,1079,1081],{"id":1080},"docker-cli","Docker CLI",[567,1083,1088],{"className":1084,"code":1085,"filename":1086,"language":1087,"meta":10,"style":10},"language-bash shiki shiki-themes github-dark","docker run -p 80:8080 -v $(pwd):/var/www/html/public serversideup/php:8.5-frankenphp\n","Terminal","bash",[438,1089,1090],{"__ignoreMap":10},[576,1091,1092,1096,1099,1103,1106,1109,1112,1115,1117,1120],{"class":578,"line":579},[576,1093,1095],{"class":1094},"svObZ","docker",[576,1097,1098],{"class":607}," run",[576,1100,1102],{"class":1101},"sDLfK"," -p",[576,1104,1105],{"class":607}," 80:8080",[576,1107,1108],{"class":1101}," -v",[576,1110,1111],{"class":586}," $(",[576,1113,1114],{"class":1101},"pwd",[576,1116,767],{"class":586},[576,1118,1119],{"class":607},":/var/www/html/public",[576,1121,1122],{"class":607}," serversideup/php:8.5-frankenphp\n",[230,1124,1125,1126,1129,1130,527],{},"Your application will be available at ",[438,1127,1128],{},"http://localhost",". The default webroot is ",[438,1131,1132],{},"/var/www/html/public",[479,1134,1136],{"id":1135},"docker-compose","Docker Compose",[230,1138,1139],{},"Here's a basic example getting FrankenPHP up and running with Docker Compose.",[430,1141,1142],{},[230,1143,1144,1145,1148],{},"Don't forget to create a ",[438,1146,1147],{},"public"," directory and put your PHP code in there.",[1150,1151,1152,1257],"code-tree",{"default-value":571},[567,1153,1155],{"className":569,"code":1154,"filename":571,"language":572,"meta":10,"style":10},"services:\n  php:\n    # Choose our PHP version and variation\n    image: serversideup/php:8.5-frankenphp\n    # Expose and map HTTP and HTTPS ports\n    ports:\n      - 80:8080\n      - 443:8443\n    # Mount current directory to /var/www/html\n    volumes:\n      - ./:/var/www/html\n    # Support both HTTP and HTTPS\n    environment:\n      SSL_MODE: mixed\n",[438,1156,1157,1163,1169,1174,1182,1187,1194,1203,1211,1217,1225,1233,1239,1246],{"__ignoreMap":10},[576,1158,1159,1161],{"class":578,"line":579},[576,1160,583],{"class":582},[576,1162,587],{"class":586},[576,1164,1165,1167],{"class":578,"line":590},[576,1166,593],{"class":582},[576,1168,587],{"class":586},[576,1170,1171],{"class":578,"line":598},[576,1172,1173],{"class":622},"    # Choose our PHP version and variation\n",[576,1175,1176,1178,1180],{"class":578,"line":611},[576,1177,601],{"class":582},[576,1179,604],{"class":586},[576,1181,608],{"class":607},[576,1183,1184],{"class":578,"line":619},[576,1185,1186],{"class":622},"    # Expose and map HTTP and HTTPS ports\n",[576,1188,1189,1192],{"class":578,"line":626},[576,1190,1191],{"class":582},"    ports",[576,1193,587],{"class":586},[576,1195,1197,1200],{"class":578,"line":1196},7,[576,1198,1199],{"class":586},"      - ",[576,1201,1202],{"class":607},"80:8080\n",[576,1204,1206,1208],{"class":578,"line":1205},8,[576,1207,1199],{"class":586},[576,1209,1210],{"class":607},"443:8443\n",[576,1212,1214],{"class":578,"line":1213},9,[576,1215,1216],{"class":622},"    # Mount current directory to /var/www/html\n",[576,1218,1220,1223],{"class":578,"line":1219},10,[576,1221,1222],{"class":582},"    volumes",[576,1224,587],{"class":586},[576,1226,1228,1230],{"class":578,"line":1227},11,[576,1229,1199],{"class":586},[576,1231,1232],{"class":607},"./:/var/www/html\n",[576,1234,1236],{"class":578,"line":1235},12,[576,1237,1238],{"class":622},"    # Support both HTTP and HTTPS\n",[576,1240,1242,1244],{"class":578,"line":1241},13,[576,1243,614],{"class":582},[576,1245,587],{"class":586},[576,1247,1249,1252,1254],{"class":578,"line":1248},14,[576,1250,1251],{"class":582},"      SSL_MODE",[576,1253,604],{"class":586},[576,1255,1256],{"class":607},"mixed\n",[567,1258,1263],{"className":1259,"code":1260,"filename":1261,"language":1262,"meta":10,"style":10},"language-php shiki shiki-themes github-dark","\u003C?php\n// Let's just print out some PHP info\nphpinfo();\n?>\n","public/index.php","php",[438,1264,1265,1274,1279,1287],{"__ignoreMap":10},[576,1266,1267,1271],{"class":578,"line":579},[576,1268,1270],{"class":1269},"snl16","\u003C?",[576,1272,1273],{"class":1101},"php\n",[576,1275,1276],{"class":578,"line":590},[576,1277,1278],{"class":622},"// Let's just print out some PHP info\n",[576,1280,1281,1284],{"class":578,"line":598},[576,1282,1283],{"class":1101},"phpinfo",[576,1285,1286],{"class":586},"();\n",[576,1288,1289],{"class":578,"line":611},[576,1290,1291],{"class":1269},"?>\n",[420,1293,1294],{},[230,1295,1296],{},"The FrankenPHP variation uses ports 8080 and 8443 (instead of 80 and 443) to allow the container to run as a non-root user for better security.",[479,1298,386],{"id":1299},"laravel-octane",[230,1301,1302],{},"Laravel Octane natively supports FrankenPHP. Use our guide below to learn more.",[454,1304],{"ariaLabel":1305,"className":1306,"color":465,"label":1305,"size":467,"to":121,"trailing-icon":469,"variant":470},"Learn more about Laravel Octane",[458,459,460,461,462,463,464],[479,1308,1310],{"id":1309},"health-check","Health Check",[230,1312,1313],{},"The FrankenPHP variation includes a built-in health check that verifies the server is responding:",[729,1315,1316],{},[230,1317,1318,1319,1321,1322,527],{},"The health check endpoint is configurable via the ",[438,1320,554],{}," environment variable, which defaults to ",[438,1323,547],{},[230,1325,1326,1327,1329],{},"If you are using Laravel, you can use the ",[438,1328,561],{}," route to validate that Laravel is running and healthy.",[454,1331],{"ariaLabel":1332,"className":1333,"color":465,"label":1332,"size":467,"to":164,"trailing-icon":469,"variant":470},"Learn more about using healthchecks with Laravel",[458,459,460,461,462,463,464],[237,1335,364],{"id":1336},"automatic-https",[230,1338,1339],{},"One of FrankenPHP's standout features is automatic HTTPS powered by Caddy. It can automatically obtain and renew SSL certificates from Let's Encrypt.",[420,1341,1342],{"to":147},[230,1343,1344,1345,1347],{},"See our ",[450,1346,146],{"href":147}," guide for more information on the best strategies for running SSL in production.",[479,1349,1351],{"id":1350},"enabling-automatic-https","Enabling Automatic HTTPS",[567,1353,1355],{"className":569,"code":1354,"filename":571,"language":572,"meta":10,"style":10},"services:\n  php:\n    image: serversideup/php:8.5-frankenphp\n    ports:\n      - \"80:8080\"\n      - \"443:8443\"\n    volumes:\n      - ./:/var/www/html\n    environment:\n      CADDY_AUTO_HTTPS: \"on\"\n      # Your domain for automatic certificate\n      SERVER_NAME: \"example.com\"\n      SSL_MODE: \"full\"\n",[438,1356,1357,1363,1369,1377,1383,1390,1397,1403,1409,1415,1425,1430,1440],{"__ignoreMap":10},[576,1358,1359,1361],{"class":578,"line":579},[576,1360,583],{"class":582},[576,1362,587],{"class":586},[576,1364,1365,1367],{"class":578,"line":590},[576,1366,593],{"class":582},[576,1368,587],{"class":586},[576,1370,1371,1373,1375],{"class":578,"line":598},[576,1372,601],{"class":582},[576,1374,604],{"class":586},[576,1376,608],{"class":607},[576,1378,1379,1381],{"class":578,"line":611},[576,1380,1191],{"class":582},[576,1382,587],{"class":586},[576,1384,1385,1387],{"class":578,"line":619},[576,1386,1199],{"class":586},[576,1388,1389],{"class":607},"\"80:8080\"\n",[576,1391,1392,1394],{"class":578,"line":626},[576,1393,1199],{"class":586},[576,1395,1396],{"class":607},"\"443:8443\"\n",[576,1398,1399,1401],{"class":578,"line":1196},[576,1400,1222],{"class":582},[576,1402,587],{"class":586},[576,1404,1405,1407],{"class":578,"line":1205},[576,1406,1199],{"class":586},[576,1408,1232],{"class":607},[576,1410,1411,1413],{"class":578,"line":1213},[576,1412,614],{"class":582},[576,1414,587],{"class":586},[576,1416,1417,1420,1422],{"class":578,"line":1219},[576,1418,1419],{"class":582},"      CADDY_AUTO_HTTPS",[576,1421,604],{"class":586},[576,1423,1424],{"class":607},"\"on\"\n",[576,1426,1427],{"class":578,"line":1227},[576,1428,1429],{"class":622},"      # Your domain for automatic certificate\n",[576,1431,1432,1435,1437],{"class":578,"line":1235},[576,1433,1434],{"class":582},"      SERVER_NAME",[576,1436,604],{"class":586},[576,1438,1439],{"class":607},"\"example.com\"\n",[576,1441,1442,1444,1446],{"class":578,"line":1241},[576,1443,1251],{"class":582},[576,1445,604],{"class":586},[576,1447,1448],{"class":607},"\"full\"\n",[430,1450,1451],{},[230,1452,1453,1454,527],{},"Automatic HTTPS requires a public domain name and ports 80/443 accessible from the internet for Let's Encrypt validation. For local development, use self-signed certificates with ",[438,1455,755],{},[479,1457,1459],{"id":1458},"ssl-modes-for-development","SSL Modes for Development",[230,1461,1462,1463,1465],{},"For local development, use the ",[438,1464,755],{}," environment variable:",[567,1467,1469],{"className":569,"code":1468,"filename":571,"language":572,"meta":10,"style":10},"services:\n  php:\n    image: serversideup/php:8.5-frankenphp\n    ports:\n      - \"80:8080\"\n      - \"443:8443\"\n    volumes:\n      - ./:/var/www/html\n    environment:\n      SSL_MODE: \"full\"\n",[438,1470,1471,1477,1483,1491,1497,1503,1509,1515,1521,1527],{"__ignoreMap":10},[576,1472,1473,1475],{"class":578,"line":579},[576,1474,583],{"class":582},[576,1476,587],{"class":586},[576,1478,1479,1481],{"class":578,"line":590},[576,1480,593],{"class":582},[576,1482,587],{"class":586},[576,1484,1485,1487,1489],{"class":578,"line":598},[576,1486,601],{"class":582},[576,1488,604],{"class":586},[576,1490,608],{"class":607},[576,1492,1493,1495],{"class":578,"line":611},[576,1494,1191],{"class":582},[576,1496,587],{"class":586},[576,1498,1499,1501],{"class":578,"line":619},[576,1500,1199],{"class":586},[576,1502,1389],{"class":607},[576,1504,1505,1507],{"class":578,"line":626},[576,1506,1199],{"class":586},[576,1508,1396],{"class":607},[576,1510,1511,1513],{"class":578,"line":1196},[576,1512,1222],{"class":582},[576,1514,587],{"class":586},[576,1516,1517,1519],{"class":578,"line":1205},[576,1518,1199],{"class":586},[576,1520,1232],{"class":607},[576,1522,1523,1525],{"class":578,"line":1213},[576,1524,614],{"class":582},[576,1526,587],{"class":586},[576,1528,1529,1531,1533],{"class":578,"line":1219},[576,1530,1251],{"class":582},[576,1532,604],{"class":586},[576,1534,1448],{"class":607},[230,1536,1537],{},"Available SSL modes:",[245,1539,1540,1545,1550],{},[248,1541,1542,1544],{},[438,1543,759],{}," - SSL disabled (default)",[248,1546,1547,1549],{},[438,1548,763],{}," - Both HTTP (8080) and HTTPS (8443) enabled",[248,1551,1552,1554],{},[438,1553,766],{}," - HTTPS only on port 8443",[230,1556,1557,1558,1560],{},"Learn more about SSL modes in the ",[450,1559,146],{"href":147}," guide.",[454,1562],{"ariaLabel":1563,"className":1564,"color":465,"label":1563,"size":467,"to":147,"trailing-icon":469,"variant":470},"Learn more about SSL modes",[458,459,460,461,462,463,464],[237,1566,1568],{"id":1567},"environment-variables","Environment Variables",[230,1570,1571],{},"The FrankenPHP variation supports extensive customization through environment variables.",[479,1573,1575],{"id":1574},"frankenphpcaddy-configuration","FrankenPHP/Caddy Configuration",[299,1577,1578,1591],{},[302,1579,1580],{},[305,1581,1582,1585,1588],{},[308,1583,1584],{},"Variable",[308,1586,1587],{},"Default",[308,1589,1590],{},"Description",[318,1592,1593,1608,1622,1642,1656,1670,1684,1704,1719,1733,1747,1767,1782,1797,1810],{},[305,1594,1595,1600,1605],{},[323,1596,1597],{},[438,1598,1599],{},"FRANKENPHP_CONFIG",[323,1601,1602],{},[438,1603,1604],{},"\"\"",[323,1606,1607],{},"FrankenPHP-specific configuration (e.g., worker mode)",[305,1609,1610,1615,1619],{},[323,1611,1612],{},[438,1613,1614],{},"CADDY_SERVER_ROOT",[323,1616,1617],{},[438,1618,1132],{},[323,1620,1621],{},"Document root for the application",[305,1623,1624,1629,1633],{},[323,1625,1626],{},[438,1627,1628],{},"CADDY_AUTO_HTTPS",[323,1630,1631],{},[438,1632,759],{},[323,1634,1635,1636,1639,1640,767],{},"Enable automatic HTTPS (",[438,1637,1638],{},"on","/",[438,1641,759],{},[305,1643,1644,1649,1653],{},[323,1645,1646],{},[438,1647,1648],{},"CADDY_HTTP_PORT",[323,1650,1651],{},[438,1652,506],{},[323,1654,1655],{},"HTTP port",[305,1657,1658,1663,1667],{},[323,1659,1660],{},[438,1661,1662],{},"CADDY_HTTPS_PORT",[323,1664,1665],{},[438,1666,513],{},[323,1668,1669],{},"HTTPS port",[305,1671,1672,1677,1681],{},[323,1673,1674],{},[438,1675,1676],{},"CADDY_ADMIN",[323,1678,1679],{},[438,1680,759],{},[323,1682,1683],{},"Caddy admin API endpoint",[305,1685,1686,1691,1696],{},[323,1687,1688],{},[438,1689,1690],{},"CADDY_LOG_FORMAT",[323,1692,1693],{},[438,1694,1695],{},"console",[323,1697,1698,1699,1639,1701,767],{},"Log format (",[438,1700,1695],{},[438,1702,1703],{},"json",[305,1705,1706,1711,1716],{},[323,1707,1708],{},[438,1709,1710],{},"CADDY_LOG_OUTPUT",[323,1712,1713],{},[438,1714,1715],{},"stdout",[323,1717,1718],{},"Log output destination",[305,1720,1721,1726,1730],{},[323,1722,1723],{},[438,1724,1725],{},"CADDY_GLOBAL_OPTIONS",[323,1727,1728],{},[438,1729,1604],{},[323,1731,1732],{},"Additional Caddy global options",[305,1734,1735,1740,1744],{},[323,1736,1737],{},[438,1738,1739],{},"CADDY_SERVER_EXTRA_DIRECTIVES",[323,1741,1742],{},[438,1743,1604],{},[323,1745,1746],{},"Additional Caddy server directives",[305,1748,1749,1753,1757],{},[323,1750,1751],{},[438,1752,755],{},[323,1754,1755],{},[438,1756,759],{},[323,1758,1759,1760,760,1762,1764,1765],{},"SSL mode: ",[438,1761,759],{},[438,1763,763],{},", or ",[438,1766,766],{},[305,1768,1769,1774,1779],{},[323,1770,1771],{},[438,1772,1773],{},"SSL_CERTIFICATE_FILE",[323,1775,1776],{},[438,1777,1778],{},"/etc/ssl/private/self-signed-web.crt",[323,1780,1781],{},"Path to SSL certificate",[305,1783,1784,1789,1794],{},[323,1785,1786],{},[438,1787,1788],{},"SSL_PRIVATE_KEY_FILE",[323,1790,1791],{},[438,1792,1793],{},"/etc/ssl/private/self-signed-web.key",[323,1795,1796],{},"Path to SSL private key",[305,1798,1799,1803,1807],{},[323,1800,1801],{},[438,1802,554],{},[323,1804,1805],{},[438,1806,547],{},[323,1808,1809],{},"Path for health check endpoint",[305,1811,1812,1817,1821],{},[323,1813,1814],{},[438,1815,1816],{},"SERVER_NAME",[323,1818,1819],{},[438,1820,1604],{},[323,1822,1823],{},"Domain name for automatic HTTPS",[420,1825,1826],{"to":215},[230,1827,1828,1829,527],{},"For a complete list of available environment variables, see the ",[450,1830,1831],{"href":215},"Environment Variable Specification →",[479,1833,1835],{"id":1834},"php-configuration","PHP Configuration",[299,1837,1838,1848],{},[302,1839,1840],{},[305,1841,1842,1844,1846],{},[308,1843,1584],{},[308,1845,1587],{},[308,1847,1590],{},[318,1849,1850,1865,1880,1895,1909,1929,1944],{},[305,1851,1852,1857,1862],{},[323,1853,1854],{},[438,1855,1856],{},"PHP_MEMORY_LIMIT",[323,1858,1859],{},[438,1860,1861],{},"256M",[323,1863,1864],{},"Maximum memory a script can use",[305,1866,1867,1872,1877],{},[323,1868,1869],{},[438,1870,1871],{},"PHP_MAX_EXECUTION_TIME",[323,1873,1874],{},[438,1875,1876],{},"99",[323,1878,1879],{},"Maximum time a script can run (seconds)",[305,1881,1882,1887,1892],{},[323,1883,1884],{},[438,1885,1886],{},"PHP_UPLOAD_MAX_FILE_SIZE",[323,1888,1889],{},[438,1890,1891],{},"100M",[323,1893,1894],{},"Maximum upload file size",[305,1896,1897,1902,1906],{},[323,1898,1899],{},[438,1900,1901],{},"PHP_POST_MAX_SIZE",[323,1903,1904],{},[438,1905,1891],{},[323,1907,1908],{},"Maximum POST request size",[305,1910,1911,1916,1921],{},[323,1912,1913],{},[438,1914,1915],{},"PHP_OPCACHE_ENABLE",[323,1917,1918],{},[438,1919,1920],{},"0",[323,1922,1923,1924,1639,1926,767],{},"Enable OPcache (",[438,1925,1920],{},[438,1927,1928],{},"1",[305,1930,1931,1936,1941],{},[323,1932,1933],{},[438,1934,1935],{},"PHP_OPCACHE_REVALIDATE_FREQ",[323,1937,1938],{},[438,1939,1940],{},"2",[323,1942,1943],{},"How often to check for file changes (seconds)",[305,1945,1946,1951,1955],{},[323,1947,1948],{},[438,1949,1950],{},"PHP_OPCACHE_VALIDATE_TIMESTAMPS",[323,1952,1953],{},[438,1954,1928],{},[323,1956,1957,1958,1639,1960,767],{},"Whether to validate timestamps (",[438,1959,1920],{},[438,1961,1928],{},[237,1963,1965],{"id":1964},"caddy-configuration","Caddy Configuration",[230,1967,1968],{},"FrankenPHP uses Caddy's configuration format (Caddyfile) instead of NGINX configuration.",[479,1970,1972],{"id":1971},"adding-custom-options","Adding Custom Options",[230,1974,1975],{},"There are a few areas where you can use environment variables to customize your Caddy configuration:",[299,1977,1978,1989],{},[302,1979,1980],{},[305,1981,1982,1984,1986],{},[308,1983,1584],{},[308,1985,1590],{},[308,1987,1988],{},"Official Documentation",[318,1990,1991,2008,2024,2041],{},[305,1992,1993,1997,2000],{},[323,1994,1995],{},[438,1996,1725],{},[323,1998,1999],{},"Global Caddy options",[323,2001,2002],{},[450,2003,2007],{"href":2004,"rel":2005,"target":432},"https://caddyserver.com/docs/caddyfile/options",[2006],"nofollow","Caddy Global Options",[305,2009,2010,2014,2017],{},[323,2011,2012],{},[438,2013,1739],{},[323,2015,2016],{},"Server-specific Caddy directives",[323,2018,2019],{},[450,2020,2023],{"href":2021,"rel":2022,"target":432},"https://caddyserver.com/docs/caddyfile/directives",[2006],"Caddy Server Directives",[305,2025,2026,2031,2034],{},[323,2027,2028],{},[438,2029,2030],{},"CADDY_PHP_SERVER_OPTIONS",[323,2032,2033],{},"PHP-specific Caddy directives (site-specific)",[323,2035,2036],{},[450,2037,2040],{"href":2038,"rel":2039,"target":432},"https://frankenphp.dev/docs/config/#caddyfile-config",[2006],"FrankenPHP PHP Server Options",[305,2042,2043,2047,2050],{},[323,2044,2045],{},[438,2046,1599],{},[323,2048,2049],{},"FrankenPHP-specific configuration (global)",[323,2051,2052],{},[450,2053,2055],{"href":2038,"rel":2054,"target":432},[2006],"FrankenPHP Configuration",[567,2057,2059],{"className":569,"code":2058,"filename":571,"language":572,"meta":10,"style":10},"services:\n  php:\n    image: serversideup/php:8.5-frankenphp\n    environment:\n      CADDY_SERVER_EXTRA_DIRECTIVES: |\n        # Add custom headers\n        header {\n          X-Custom-Header \"My Value\"\n          -Server\n        }\n",[438,2060,2061,2067,2073,2081,2087,2097,2102,2107,2112,2117],{"__ignoreMap":10},[576,2062,2063,2065],{"class":578,"line":579},[576,2064,583],{"class":582},[576,2066,587],{"class":586},[576,2068,2069,2071],{"class":578,"line":590},[576,2070,593],{"class":582},[576,2072,587],{"class":586},[576,2074,2075,2077,2079],{"class":578,"line":598},[576,2076,601],{"class":582},[576,2078,604],{"class":586},[576,2080,608],{"class":607},[576,2082,2083,2085],{"class":578,"line":611},[576,2084,614],{"class":582},[576,2086,587],{"class":586},[576,2088,2089,2092,2094],{"class":578,"line":619},[576,2090,2091],{"class":582},"      CADDY_SERVER_EXTRA_DIRECTIVES",[576,2093,604],{"class":586},[576,2095,2096],{"class":1269},"|\n",[576,2098,2099],{"class":578,"line":626},[576,2100,2101],{"class":607},"        # Add custom headers\n",[576,2103,2104],{"class":578,"line":1196},[576,2105,2106],{"class":607},"        header {\n",[576,2108,2109],{"class":578,"line":1205},[576,2110,2111],{"class":607},"          X-Custom-Header \"My Value\"\n",[576,2113,2114],{"class":578,"line":1213},[576,2115,2116],{"class":607},"          -Server\n",[576,2118,2119],{"class":578,"line":1219},[576,2120,2121],{"class":607},"        }\n",[237,2123,2125],{"id":2124},"further-customization","Further Customization",[230,2127,2128],{},"If you need to customize the container further, reference the docs below:",[245,2130,2131,2136,2141,2149],{},[248,2132,2133,2135],{},[450,2134,214],{"href":215}," - See which environment variables are available to customize PHP and Caddy settings.",[248,2137,2138,2140],{},[450,2139,218],{"href":219}," - See which commands are available to run inside the container.",[248,2142,2143,2148],{},[450,2144,2147],{"href":2145,"rel":2146,"target":432},"https://frankenphp.dev/",[2006],"FrankenPHP Documentation"," - Official FrankenPHP documentation for advanced features.",[248,2150,2151,2156],{},[450,2152,2155],{"href":2153,"rel":2154,"target":432},"https://caddyserver.com/docs/",[2006],"Caddy Documentation"," - Official Caddy documentation for web server configuration.",[2158,2159,2160],"style",{},"html pre.shiki code .s4JwU, html code.shiki .s4JwU{--shiki-default:#85E89D}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}",{"title":10,"searchDepth":590,"depth":590,"links":2162},[2163,2164,2165,2173,2174,2175,2181,2185,2189,2192],{"id":239,"depth":590,"text":240},{"id":296,"depth":590,"text":297},{"id":473,"depth":590,"text":474,"children":2166},[2167,2168,2169,2170,2171,2172],{"id":481,"depth":598,"text":482},{"id":530,"depth":598,"text":531},{"id":646,"depth":598,"text":647},{"id":696,"depth":598,"text":697},{"id":739,"depth":598,"text":740},{"id":793,"depth":598,"text":794},{"id":982,"depth":590,"text":983},{"id":1035,"depth":590,"text":1036},{"id":1073,"depth":590,"text":1074,"children":2176},[2177,2178,2179,2180],{"id":1080,"depth":598,"text":1081},{"id":1135,"depth":598,"text":1136},{"id":1299,"depth":598,"text":386},{"id":1309,"depth":598,"text":1310},{"id":1336,"depth":590,"text":364,"children":2182},[2183,2184],{"id":1350,"depth":598,"text":1351},{"id":1458,"depth":598,"text":1459},{"id":1567,"depth":590,"text":1568,"children":2186},[2187,2188],{"id":1574,"depth":598,"text":1575},{"id":1834,"depth":598,"text":1835},{"id":1964,"depth":590,"text":1965,"children":2190},[2191],{"id":1971,"depth":598,"text":1972},{"id":2124,"depth":590,"text":2125},"Learn how to use the FrankenPHP variation of the serversideup/php image.",null,{},true,{"title":78,"description":2193},"DI-nO5_gesw2e-ks79-XdDxVZ6H1ABqsxCb8aHVMhw8",[2200,2202],{"title":74,"path":75,"stem":76,"description":2201,"children":-1},"Learn how to use the FPM-NGINX variation of the serversideup/php image.",{"title":82,"path":83,"stem":84,"description":2203,"children":-1},"NGINX Unit has been archived. This guide helps you understand what happened and how to migrate to actively maintained alternatives.",1776367053013]