[{"data":1,"prerenderedAt":1474},["ShallowReactive",2],{"navigation":3,"/docs/getting-started/choosing-an-image":229,"/docs/getting-started/choosing-an-image-surround":1469},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","/docs","docs",[9,12,56,85,132,153,186,203,216],{"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,178,182],{"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,"path":180,"stem":181},"Major version migrations","/docs/guide/major-version-migrations","docs/5.guide/5.major-version-migrations",{"title":183,"path":184,"stem":185},"Production performance tuning","/docs/guide/production-performance-tuning","docs/5.guide/6.production-performance-tuning",{"title":187,"icon":55,"defaultOpen":55,"path":188,"stem":189,"children":190,"page":55},"Customization","/docs/customizing-the-image","docs/6.customizing-the-image",[191,195,199],{"title":192,"path":193,"stem":194},"Changing php.ini settings","/docs/customizing-the-image/changing-common-php-settings","docs/6.customizing-the-image/1.changing-common-php-settings",{"title":196,"path":197,"stem":198},"Installing PHP extensions","/docs/customizing-the-image/installing-additional-php-extensions","docs/6.customizing-the-image/2.installing-additional-php-extensions",{"title":200,"path":201,"stem":202},"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":204,"path":205,"stem":206,"children":207,"page":55},"Troubleshooting","/docs/troubleshooting","docs/7.troubleshooting",[208,212],{"title":209,"path":210,"stem":211},"Common Issues","/docs/troubleshooting/common-issues","docs/7.troubleshooting/1.common-issues",{"title":213,"path":214,"stem":215},"Getting Help","/docs/troubleshooting/getting-help","docs/7.troubleshooting/2.getting-help",{"title":217,"path":218,"stem":219,"children":220,"page":55},"Reference","/docs/reference","docs/8.reference",[221,225],{"title":222,"path":223,"stem":224},"Environment Variable Specification","/docs/reference/environment-variable-specification","docs/8.reference/1.environment-variable-specification",{"title":226,"path":227,"stem":228},"Command Reference","/docs/reference/command-reference","docs/8.reference/2.command-reference",{"id":230,"title":32,"body":231,"description":1463,"extension":1247,"links":1464,"meta":1465,"navigation":1466,"path":33,"redirect":1464,"seo":1467,"stem":34,"__hash__":1468},"docs/docs/1.getting-started/5.choosing-an-image.md",{"type":232,"value":233,"toc":1444},"minimark",[234,241,246,258,276,288,304,310,313,327,331,334,341,344,761,765,768,771,874,877,1070,1099,1135,1138,1141,1154,1163,1166,1169,1228,1231,1234,1250,1252,1255,1258,1262,1264,1267,1274,1278,1280,1283,1286,1290,1292,1295,1298,1302,1306,1316,1320,1323,1355,1395,1399,1412,1415,1440],[235,236,237],"lead-p",{},[238,239,240],"p",{},"Choosing an image might be a little intimidating because there are so many options, but this ultimately gives you a ton of flexibility. This guide will help simplify your decision making process on choosing the right image.",[242,243,245],"h2",{"id":244},"registry-where-images-are-located","Registry: Where images are located",[238,247,248,249,257],{},"Before diving into the different options available, let's understand where these images come from. The source code is ",[250,251,256],"a",{"href":252,"rel":253,"target":255},"https://github.com/serversideup/docker-php",[254],"nofollow","_blank","hosted on GitHub"," with an automated process that builds and uploads images to container registries:",[259,260,261,269],"ol",{},[262,263,264],"li",{},[250,265,268],{"href":266,"rel":267},"https://hub.docker.com/r/serversideup/php",[254],"Docker Hub",[262,270,271],{},[250,272,275],{"href":273,"rel":274},"https://github.com/serversideup/docker-php/pkgs/container/php",[254],"GitHub Packages",[238,277,278,279,283,284,287],{},"To use these images, you need to specify a certain \"tag\" for the image you want. For example, the ",[280,281,282],"code",{},"8.4"," version of the ",[280,285,286],{},"fpm-nginx"," variation is tagged as:",[289,290,294],"pre",{"className":291,"code":292,"language":293,"meta":10,"style":10},"language-bash shiki shiki-themes github-dark","serversideup/php:8.4-fpm-nginx\n","bash",[280,295,296],{"__ignoreMap":10},[297,298,301],"span",{"class":299,"line":300},"line",1,[297,302,292],{"class":303},"svObZ",[238,305,306,307,309],{},"This image gives you the latest stable patch version of PHP 8.4 running the ",[280,308,286],{}," variation. Since no registry is specified, it defaults to Docker Hub.",[238,311,312],{},"When selecting an image, you'll need to decide on:",[259,314,315,318,321,324],{},[262,316,317],{},"PHP version",[262,319,320],{},"PHP variation",[262,322,323],{},"Base operating system",[262,325,326],{},"serversideup/php version (for production environments)",[242,328,330],{"id":329},"our-most-popular-images","Our most popular images",[238,332,333],{},"All images are intelligently tagged with the PHP version and variation, allowing you to easily select the right image for your use case.",[238,335,336,337,340],{},"If you don't specify a variation, it defaults to ",[280,338,339],{},"cli"," and the latest supported Debian release for that variation.",[238,342,343],{},"Our most popular tags include:",[345,346,347,360],"table",{},[348,349,350],"thead",{},[351,352,353,357],"tr",{},[354,355,356],"th",{},"⚙️ Variation",[354,358,359],{},"🚀 Version",[361,362,363,457,542,587,671,749],"tbody",{},[351,364,365,368],{},[366,367,339],"td",{},[366,369,370,374,375,374,388,374,397,374,406,415,418,374,421,374,430,374,439,374,448],{},[371,372,373],"strong",{},"Debian Based"," ",[250,376,379],{"href":377,"rel":378},"https://hub.docker.com/r/serversideup/php/tags?name=8.5-cli&page=1&ordering=-name",[254],[380,381],"img",{":zoom":382,"alt":383,"className":384,"src":387},"false","serversideup/php:8.5-cli",[385,386],"h-5","w-auto","https://img.shields.io/docker/image-size/serversideup/php/8.5-cli?label=serversideup%2Fphp%3A8.5-cli",[250,389,392],{"href":390,"rel":391},"https://hub.docker.com/r/serversideup/php/tags?name=8.4-cli&page=1&ordering=-name",[254],[380,393],{":zoom":382,"alt":394,"className":395,"src":396},"serversideup/php:8.4-cli",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.4-cli?label=serversideup%2Fphp%3A8.4-cli",[250,398,401],{"href":399,"rel":400},"https://hub.docker.com/r/serversideup/php/tags?name=8.3-cli&page=1&ordering=-name",[254],[380,402],{":zoom":382,"alt":403,"className":404,"src":405},"serversideup/php:8.3-cli",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.3-cli?label=serversideup%2Fphp%3A8.3-cli",[250,407,410],{"href":408,"rel":409},"https://hub.docker.com/r/serversideup/php/tags?name=8.2-cli&page=1&ordering=-name",[254],[380,411],{":zoom":382,"alt":412,"className":413,"src":414},"serversideup/php:8.2-cli",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.2-cli?label=serversideup%2Fphp%3A8.2-cli",[416,417],"br",{},[371,419,420],{},"Alpine Based",[250,422,425],{"href":423,"rel":424},"https://hub.docker.com/r/serversideup/php/tags?name=8.5-cli-alpine&page=1&ordering=-name",[254],[380,426],{":zoom":382,"alt":427,"className":428,"src":429},"serversideup/php:8.5-cli-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.5-cli-alpine?label=serversideup%2Fphp%3A8.5-cli-alpine",[250,431,434],{"href":432,"rel":433},"https://hub.docker.com/r/serversideup/php/tags?name=8.4-cli-alpine&page=1&ordering=-name",[254],[380,435],{":zoom":382,"alt":436,"className":437,"src":438},"serversideup/php:8.4-cli-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.4-cli-alpine?label=serversideup%2Fphp%3A8.4-cli-alpine",[250,440,443],{"href":441,"rel":442},"https://hub.docker.com/r/serversideup/php/tags?name=8.3-cli-alpine&page=1&ordering=-name",[254],[380,444],{":zoom":382,"alt":445,"className":446,"src":447},"serversideup/php:8.3-cli-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.3-cli-alpine?label=serversideup%2Fphp%3A8.3-cli-alpine",[250,449,452],{"href":450,"rel":451},"https://hub.docker.com/r/serversideup/php/tags?name=8.2-cli-alpine&page=1&ordering=-name",[254],[380,453],{":zoom":382,"alt":454,"className":455,"src":456},"serversideup/php:8.2-cli-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.2-cli-alpine?label=serversideup%2Fphp%3A8.2-cli-alpine",[351,458,459,462],{},[366,460,461],{},"fpm",[366,463,464,374,466,374,475,374,484,374,493,502,504,374,506,374,515,374,524,374,533],{},[371,465,373],{},[250,467,470],{"href":468,"rel":469},"https://hub.docker.com/r/serversideup/php/tags?name=8.5-fpm&page=1&ordering=-name",[254],[380,471],{":zoom":382,"alt":472,"className":473,"src":474},"serversideup/php:8.5-fpm",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.5-fpm?label=serversideup%2Fphp%3A8.5-fpm",[250,476,479],{"href":477,"rel":478},"https://hub.docker.com/r/serversideup/php/tags?name=8.4-fpm&page=1&ordering=-name",[254],[380,480],{":zoom":382,"alt":481,"className":482,"src":483},"serversideup/php:8.4-fpm",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.4-fpm?label=serversideup%2Fphp%3A8.4-fpm",[250,485,488],{"href":486,"rel":487},"https://hub.docker.com/r/serversideup/php/tags?name=8.3-fpm&page=1&ordering=-name",[254],[380,489],{":zoom":382,"alt":490,"className":491,"src":492},"serversideup/php:8.3-fpm",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.3-fpm?label=serversideup%2Fphp%3A8.3-fpm",[250,494,497],{"href":495,"rel":496},"https://hub.docker.com/r/serversideup/php/tags?name=8.2-fpm&page=1&ordering=-name",[254],[380,498],{":zoom":382,"alt":499,"className":500,"src":501},"serversideup/php:8.2-fpm",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.2-fpm?label=serversideup%2Fphp%3A8.2-fpm",[416,503],{},[371,505,420],{},[250,507,510],{"href":508,"rel":509},"https://hub.docker.com/r/serversideup/php/tags?name=8.5-fpm-alpine&page=1&ordering=-name",[254],[380,511],{":zoom":382,"alt":512,"className":513,"src":514},"serversideup/php:8.5-fpm-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.5-fpm-alpine?label=serversideup%2Fphp%3A8.5-fpm-alpine",[250,516,519],{"href":517,"rel":518},"https://hub.docker.com/r/serversideup/php/tags?name=8.4-fpm-alpine&page=1&ordering=-name",[254],[380,520],{":zoom":382,"alt":521,"className":522,"src":523},"serversideup/php:8.4-fpm-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.4-fpm-alpine?label=serversideup%2Fphp%3A8.4-fpm-alpine",[250,525,528],{"href":526,"rel":527},"https://hub.docker.com/r/serversideup/php/tags?name=8.3-fpm-alpine&page=1&ordering=-name",[254],[380,529],{":zoom":382,"alt":530,"className":531,"src":532},"serversideup/php:8.3-fpm-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.3-fpm-alpine?label=serversideup%2Fphp%3A8.3-fpm-alpine",[250,534,537],{"href":535,"rel":536},"https://hub.docker.com/r/serversideup/php/tags?name=8.2-fpm-alpine&page=1&ordering=-name",[254],[380,538],{":zoom":382,"alt":539,"className":540,"src":541},"serversideup/php:8.2-fpm-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.2-fpm-alpine?label=serversideup%2Fphp%3A8.2-fpm-alpine",[351,543,544,547],{},[366,545,546],{},"fpm-apache",[366,548,549,374,551,374,560,374,569,374,578],{},[371,550,373],{},[250,552,555],{"href":553,"rel":554},"https://hub.docker.com/r/serversideup/php/tags?name=8.5-fpm-apache&page=1&ordering=-name",[254],[380,556],{":zoom":382,"alt":557,"className":558,"src":559},"serversideup/php:8.5-fpm-apache",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.5-fpm-apache?label=serversideup%2Fphp%3A8.5-fpm-apache",[250,561,564],{"href":562,"rel":563},"https://hub.docker.com/r/serversideup/php/tags?name=8.4-fpm-apache&page=1&ordering=-name",[254],[380,565],{":zoom":382,"alt":566,"className":567,"src":568},"serversideup/php:8.4-fpm-apache",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.4-fpm-apache?label=serversideup%2Fphp%3A8.4-fpm-apache",[250,570,573],{"href":571,"rel":572},"https://hub.docker.com/r/serversideup/php/tags?name=8.3-fpm-apache&page=1&ordering=-name",[254],[380,574],{":zoom":382,"alt":575,"className":576,"src":577},"serversideup/php:8.3-fpm-apache",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.3-fpm-apache?label=serversideup%2Fphp%3A8.3-fpm-apache",[250,579,582],{"href":580,"rel":581},"https://hub.docker.com/r/serversideup/php/tags?name=8.2-fpm-apache&page=1&ordering=-name",[254],[380,583],{":zoom":382,"alt":584,"className":585,"src":586},"serversideup/php:8.2-fpm-apache",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.2-fpm-apache?label=serversideup%2Fphp%3A8.2-fpm-apache",[351,588,589,591],{},[366,590,286],{},[366,592,593,374,595,374,604,374,613,374,622,631,633,374,635,374,644,374,653,374,662],{},[371,594,373],{},[250,596,599],{"href":597,"rel":598},"https://hub.docker.com/r/serversideup/php/tags?name=8.5-fpm-nginx&page=1&ordering=-name",[254],[380,600],{":zoom":382,"alt":601,"className":602,"src":603},"serversideup/php:8.5-fpm-nginx",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.5-fpm-nginx?label=serversideup%2Fphp%3A8.5-fpm-nginx",[250,605,608],{"href":606,"rel":607},"https://hub.docker.com/r/serversideup/php/tags?name=8.4-fpm-nginx&page=1&ordering=-name",[254],[380,609],{":zoom":382,"alt":610,"className":611,"src":612},"serversideup/php:8.4-fpm-nginx",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.4-fpm-nginx?label=serversideup%2Fphp%3A8.4-fpm-nginx",[250,614,617],{"href":615,"rel":616},"https://hub.docker.com/r/serversideup/php/tags?name=8.3-fpm-nginx&page=1&ordering=-name",[254],[380,618],{":zoom":382,"alt":619,"className":620,"src":621},"serversideup/php:8.3-fpm-nginx",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.3-fpm-nginx?label=serversideup%2Fphp%3A8.3-fpm-nginx",[250,623,626],{"href":624,"rel":625},"https://hub.docker.com/r/serversideup/php/tags?name=8.2-fpm-nginx&page=1&ordering=-name",[254],[380,627],{":zoom":382,"alt":628,"className":629,"src":630},"serversideup/php:8.2-fpm-nginx",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.2-fpm-nginx?label=serversideup%2Fphp%3A8.2-fpm-nginx",[416,632],{},[371,634,420],{},[250,636,639],{"href":637,"rel":638},"https://hub.docker.com/r/serversideup/php/tags?name=8.5-fpm-nginx-alpine&page=1&ordering=-name",[254],[380,640],{":zoom":382,"alt":641,"className":642,"src":643},"serversideup/php:8.5-fpm-nginx-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.5-fpm-nginx-alpine?label=serversideup%2Fphp%3A8.5-fpm-nginx-alpine",[250,645,648],{"href":646,"rel":647},"https://hub.docker.com/r/serversideup/php/tags?name=8.4-fpm-nginx-alpine&page=1&ordering=-name",[254],[380,649],{":zoom":382,"alt":650,"className":651,"src":652},"serversideup/php:8.4-fpm-nginx-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.4-fpm-nginx-alpine?label=serversideup%2Fphp%3A8.4-fpm-nginx-alpine",[250,654,657],{"href":655,"rel":656},"https://hub.docker.com/r/serversideup/php/tags?name=8.3-fpm-nginx-alpine&page=1&ordering=-name",[254],[380,658],{":zoom":382,"alt":659,"className":660,"src":661},"serversideup/php:8.3-fpm-nginx-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.3-fpm-nginx-alpine?label=serversideup%2Fphp%3A8.3-fpm-nginx-alpine",[250,663,666],{"href":664,"rel":665},"https://hub.docker.com/r/serversideup/php/tags?name=8.2-fpm-nginx-alpine&page=1&ordering=-name",[254],[380,667],{":zoom":382,"alt":668,"className":669,"src":670},"serversideup/php:8.2-fpm-nginx-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.2-fpm-nginx-alpine?label=serversideup%2Fphp%3A8.2-fpm-nginx-alpine",[351,672,673,676],{},[366,674,675],{},"frankenphp",[366,677,678,374,680,374,689,374,698,374,707,709,374,711,713,714,719,720,374,722,374,731,374,740],{},[371,679,373],{},[250,681,684],{"href":682,"rel":683},"https://hub.docker.com/r/serversideup/php/tags?name=8.5-frankenphp&page=1&ordering=-name",[254],[380,685],{":zoom":382,"alt":686,"className":687,"src":688},"serversideup/php:8.5-frankenphp",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.5-frankenphp?label=serversideup%2Fphp%3A8.5-frankenphp",[250,690,693],{"href":691,"rel":692},"https://hub.docker.com/r/serversideup/php/tags?name=8.4-frankenphp&page=1&ordering=-name",[254],[380,694],{":zoom":382,"alt":695,"className":696,"src":697},"serversideup/php:8.4-frankenphp",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.4-frankenphp?label=serversideup%2Fphp%3A8.4-frankenphp",[250,699,702],{"href":700,"rel":701},"https://hub.docker.com/r/serversideup/php/tags?name=8.3-frankenphp&page=1&ordering=-name",[254],[380,703],{":zoom":382,"alt":704,"className":705,"src":706},"serversideup/php:8.3-frankenphp",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.3-frankenphp?label=serversideup%2Fphp%3A8.3-frankenphp",[416,708],{},[371,710,420],{},[416,712],{}," ⚠️ Some users are experiencing ",[250,715,718],{"href":716,"rel":717,"target":255},"https://frankenphp.dev/docs/known-issues/",[254],"known performance issues"," with FrankenPHP on Alpine. Consider using the Debian version. ",[416,721],{},[250,723,726],{"href":724,"rel":725},"https://hub.docker.com/r/serversideup/php/tags?name=8.5-frankenphp-alpine&page=1&ordering=-name",[254],[380,727],{":zoom":382,"alt":728,"className":729,"src":730},"serversideup/php:8.5-frankenphp-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.5-frankenphp-alpine?label=serversideup%2Fphp%3A8.5-frankenphp-alpine",[250,732,735],{"href":733,"rel":734},"https://hub.docker.com/r/serversideup/php/tags?name=8.4-frankenphp-alpine&page=1&ordering=-name",[254],[380,736],{":zoom":382,"alt":737,"className":738,"src":739},"serversideup/php:8.4-frankenphp-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.4-frankenphp-alpine?label=serversideup%2Fphp%3A8.4-frankenphp-alpine",[250,741,744],{"href":742,"rel":743},"https://hub.docker.com/r/serversideup/php/tags?name=8.3-frankenphp-alpine&page=1&ordering=-name",[254],[380,745],{":zoom":382,"alt":746,"className":747,"src":748},"serversideup/php:8.3-frankenphp-alpine",[385,386],"https://img.shields.io/docker/image-size/serversideup/php/8.3-frankenphp-alpine?label=serversideup%2Fphp%3A8.3-frankenphp-alpine",[351,750,751,754],{},[366,752,753],{},"unit (deprecated)",[366,755,756,757],{},"NGINX stopped supporting NGINX Unit it has been removed from our project. ",[250,758,760],{"href":759},"/docs/image-variations/unit/","Learn more →",[242,762,764],{"id":763},"the-full-tag-schema","The full tag schema",[238,766,767],{},"Our tagging process is quite flexible, and it can become quite complex, but don't worry -- we've spent a ton of time applying sensible defaults to give you the best experience.",[238,769,770],{},"The full tag schema is as follows:",[289,772,776],{"className":773,"code":774,"language":775,"meta":10,"style":10},"language-jinja shiki shiki-themes github-dark","{{registry-url}}/serversideup/php:{{release-prefix}}-{{php-version}}-{{variation-name}}-{{operating-system}}-v{{github-release-version}}\n","jinja",[280,777,778],{"__ignoreMap":10},[297,779,780,784,788,792,795,798,801,803,806,808,811,813,815,817,820,822,825,827,829,831,834,836,839,841,843,845,848,850,853,855,858,860,863,865,867,869,871],{"class":299,"line":300},[297,781,783],{"class":782},"s9osk","{{",[297,785,787],{"class":786},"s95oV","registry",[297,789,791],{"class":790},"snl16","-",[297,793,794],{"class":786},"url",[297,796,797],{"class":782},"}}",[297,799,800],{"class":786},"/serversideup/php:",[297,802,783],{"class":782},[297,804,805],{"class":786},"release",[297,807,791],{"class":790},[297,809,810],{"class":786},"prefix",[297,812,797],{"class":782},[297,814,791],{"class":786},[297,816,783],{"class":782},[297,818,819],{"class":786},"php",[297,821,791],{"class":790},[297,823,824],{"class":786},"version",[297,826,797],{"class":782},[297,828,791],{"class":786},[297,830,783],{"class":782},[297,832,833],{"class":786},"variation",[297,835,791],{"class":790},[297,837,838],{"class":786},"name",[297,840,797],{"class":782},[297,842,791],{"class":786},[297,844,783],{"class":782},[297,846,847],{"class":786},"operating",[297,849,791],{"class":790},[297,851,852],{"class":786},"system",[297,854,797],{"class":782},[297,856,857],{"class":786},"-v",[297,859,783],{"class":782},[297,861,862],{"class":786},"github",[297,864,791],{"class":790},[297,866,805],{"class":786},[297,868,791],{"class":790},[297,870,824],{"class":786},[297,872,873],{"class":782},"}}\n",[238,875,876],{},"Here's what each part means:",[345,878,879,892],{},[348,880,881],{},[351,882,883,886,889],{},[354,884,885],{},"Option",[354,887,888],{},"Default",[354,890,891],{},"Other Options",[361,893,894,918,939,982,1018,1048],{},[351,895,896,904,912],{},[366,897,898,374,901,903],{},[280,899,900],{},"{{registry-url}}",[416,902],{},"Which registry to pull images from.",[366,905,906,374,909,911],{},[280,907,908],{},"''",[416,910],{},"(Docker Hub)",[366,913,914,917],{},[280,915,916],{},"ghcr.io"," (GitHub Packages)",[351,919,920,928,933],{},[366,921,922,374,925,927],{},[280,923,924],{},"{{release-prefix}}",[416,926],{},"The prefix of the release.",[366,929,930,932],{},[280,931,908],{}," (stable)",[366,934,935,938],{},[280,936,937],{},"beta"," (beta releases)",[351,940,941,949,956],{},[366,942,943,374,946,948],{},[280,944,945],{},"{{php-version}}",[416,947],{},"The version of PHP to use.",[366,950,951,952,955],{},"Latest stable PHP minor version (ie. ",[280,953,954],{},"8.5",")",[366,957,958,374,960,374,962,374,965,374,967,374,970,374,972,975,976,978,979,955],{},[280,959,282],{},[416,961],{},[280,963,964],{},"8.3",[416,966],{},[280,968,969],{},"8.2",[416,971],{},[280,973,974],{},"8.1"," (end of life, see below) ",[416,977],{}," (you can also specify the full version number, ie. ",[280,980,981],{},"8.4.1",[351,983,984,992,996],{},[366,985,986,374,989,991],{},[280,987,988],{},"{{variation-name}}",[416,990],{},"The name of the variation to use.",[366,993,994],{},[280,995,339],{},[366,997,998,374,1000,374,1002,374,1004,374,1006,374,1008,374,1010,374,1012,374,1014,1017],{},[280,999,461],{},[416,1001],{},[280,1003,546],{},[416,1005],{},[280,1007,286],{},[416,1009],{},[280,1011,675],{},[416,1013],{},[280,1015,1016],{},"unit"," (deprecated)",[351,1019,1020,1028,1033],{},[366,1021,1022,374,1025,1027],{},[280,1023,1024],{},"{{operating-system}}",[416,1026],{},"The operating system to use.",[366,1029,1030],{},[280,1031,1032],{},"debian",[366,1034,1035,374,1038,374,1040,374,1043,374,1045],{},[280,1036,1037],{},"alpine",[416,1039],{},[280,1041,1042],{},"bookworm",[416,1044],{},[280,1046,1047],{},"trixie",[351,1049,1050,1058,1061],{},[366,1051,1052,374,1055,1057],{},[280,1053,1054],{},"{{github-release-version}}",[416,1056],{},"The version of the GitHub release to use.",[366,1059,1060],{},"(latest stable release)",[366,1062,1063,1064,1069],{},"See our ",[250,1065,1068],{"href":1066,"rel":1067,"target":255},"https://github.com/serversideup/docker-php/releases",[254],"GitHub Releases"," for specific versions.",[1071,1072,1074,1083],"warning",{"title":1073},"PHP 7.4 and 8.0 are no longer built",[238,1075,1076,1077,1082],{},"These images are frozen at their last successful build. The tags stay pullable, but they receive no further security updates, for PHP or for the operating system underneath. Move to PHP 8.2 or newer. See ",[250,1078,1081],{"href":1079,"rel":1080},"https://github.com/serversideup/docker-php/blob/main/SECURITY.md#eol-versions-and-the-legacy-modernization-path",[254],"EOL versions and the legacy-modernization path"," for the full picture.",[238,1084,1085,1086,1088,1089,1091,1092,1095,1096,1098],{},"PHP 8.1 is end of life but still built on ",[280,1087,1042],{},", ",[280,1090,1047],{},", and ",[280,1093,1094],{},"alpine3.22",", because those operating systems still receive security updates. PHP itself no longer gets fixes, so treat ",[280,1097,974],{}," as a stepping stone too.",[1100,1101,1103],"note",{"title":1102},"Floating vs. version-pinned tags",[238,1104,1105,1106,1108,1109,1112,1113,1116,1117,1120,1121,1124,1125,1129,1130,1134],{},"Including ",[280,1107,1054],{}," (e.g. ",[280,1110,1111],{},"8.4-fpm-nginx-v4.3.5",") creates a ",[371,1114,1115],{},"version-pinned tag"," that is written once and never updated. Omitting it (e.g. ",[280,1118,1119],{},"8.4-fpm-nginx",") gives you a ",[371,1122,1123],{},"floating tag"," that we rebuild weekly with the latest security patches. The right choice depends on how you balance reproducibility against staying current — see ",[250,1126,1128],{"href":1127},"/docs/getting-started/upgrade-guide#how-our-releases-work","How our releases work"," and ",[250,1131,1133],{"href":1132},"/docs/getting-started/upgrade-guide#choosing-your-update-strategy","Choosing your update strategy"," in the upgrade guide.",[242,1136,317],{"id":1137},"php-version",[238,1139,1140],{},"There are many factors to consider when choosing the right PHP version. Best practices include:",[259,1142,1143,1146],{},[262,1144,1145],{},"Choose the latest PHP version (as your dependencies allow)",[262,1147,1148,1149],{},"Choose a PHP version that is receiving ",[250,1150,1153],{"href":1151,"rel":1152,"target":255},"https://www.php.net/supported-versions.php",[254],"active and security support by PHP",[238,1155,1156,1157,1162],{},"If you need help understanding what's new in each PHP version, check out ",[250,1158,1161],{"href":1159,"rel":1160,"target":255},"https://www.php.net/ChangeLog-8.php",[254],"the official PHP changelog",". This will give you a detailed overview of the changes and improvements in each version.",[242,1164,320],{"id":1165},"php-variation",[238,1167,1168],{},"Choose from several variations to suit your needs. Each variation is optimized for specific use cases.",[345,1170,1171,1181],{},[348,1172,1173],{},[351,1174,1175,1178],{},[354,1176,1177],{},"Variation",[354,1179,1180],{},"Description",[361,1182,1183,1192,1201,1210,1219],{},[351,1184,1185,1189],{},[366,1186,1187],{},[280,1188,339],{},[366,1190,1191],{},"Minimal image for running PHP from the command line only. No web server included.",[351,1193,1194,1198],{},[366,1195,1196],{},[280,1197,461],{},[366,1199,1200],{},"Runs PHP-FPM without a web server. Ideal for microservices architectures where you need a dedicated PHP backend.",[351,1202,1203,1207],{},[366,1204,1205],{},[280,1206,546],{},[366,1208,1209],{},"Combines PHP-FPM with Apache as a reverse proxy. Ideal for running WordPress with Docker.",[351,1211,1212,1216],{},[366,1213,1214],{},[280,1215,286],{},[366,1217,1218],{},"Combines PHP-FPM with NGINX as a reverse proxy. This is the traditional setup widely adopted for modern PHP applications, including Laravel.",[351,1220,1221,1225],{},[366,1222,1223],{},[280,1224,675],{},[366,1226,1227],{},"Modern application server built on Caddy that runs everything in a single process. Ideal for Laravel/Symfony applications with worker mode support, automatic HTTPS, and HTTP/2 and HTTP/3 protocols.",[1229,1230,62],"h3",{"id":339},[238,1232,1233],{},"The CLI variation is a minimal image designed for running PHP from the command line only. It does not include a web server. Use this variation when you need a disposable and repeatable method for easily running PHP scripts from your terminal.",[1235,1236],"u-button",{"ariaLabel":1237,"className":1238,"color":1246,"label":1237,"size":1247,"to":63,"trailing-icon":1248,"variant":1249},"Learn more about the CLI variation",[1239,1240,1241,1242,1243,1244,1245],"font-bold","ring","ring-inset","ring-blue-600","text-blue-600","hover:ring-blue-500","hover:text-blue-500","primary","md","i-lucide-arrow-right","outline",[1229,1251,66],{"id":461},[238,1253,1254],{},"The FPM (Fast Process Manager) variation runs PHP-FPM without a web server. This variation is ideal for microservices architectures where you need a dedicated PHP backend.",[238,1256,1257],{},"Use this variation when you already have a separate proxy or load balancer handling static content and routing PHP requests to your FPM container. This is commonly used in larger-scale deployments.",[1235,1259],{"ariaLabel":1260,"className":1261,"color":1246,"label":1260,"size":1247,"to":67,"trailing-icon":1248,"variant":1249},"Learn more about the FPM variation",[1239,1240,1241,1242,1243,1244,1245],[1229,1263,70],{"id":546},[238,1265,1266],{},"The FPM-Apache variation combines PHP-FPM with Apache as a reverse proxy. Apache serves static content directly and forwards PHP requests to PHP-FPM for processing.",[238,1268,1269,1270,1273],{},"This is an excellent choice for WordPress sites and applications that specifically require Apache features or ",[280,1271,1272],{},".htaccess"," support.",[1235,1275],{"ariaLabel":1276,"className":1277,"color":1246,"label":1276,"size":1247,"to":71,"trailing-icon":1248,"variant":1249},"Learn more about the FPM-Apache variation",[1239,1240,1241,1242,1243,1244,1245],[1229,1279,74],{"id":286},[238,1281,1282],{},"The FPM-NGINX variation combines PHP-FPM with NGINX as a reverse proxy. This is the traditional setup that has been widely adopted for modern PHP applications, including many Laravel deployments.",[238,1284,1285],{},"NGINX serves static files efficiently and proxies PHP requests to PHP-FPM, providing excellent performance and flexibility.",[1235,1287],{"ariaLabel":1288,"className":1289,"color":1246,"label":1288,"size":1247,"to":75,"trailing-icon":1248,"variant":1249},"Learn more about the FPM-NGINX variation",[1239,1240,1241,1242,1243,1244,1245],[1229,1291,78],{"id":675},[238,1293,1294],{},"The FrankenPHP variation is a modern application server built on top of the Caddy web server. It runs everything in a single process, eliminating the complexity of managing PHP-FPM and a separate web server.",[238,1296,1297],{},"Use this variation for Laravel or Symfony applications that can benefit from worker mode, automatic HTTPS, and modern protocols like HTTP/2 and HTTP/3. This is the recommended variation for new projects seeking cutting-edge performance.",[1235,1299],{"ariaLabel":1300,"className":1301,"color":1246,"label":1300,"size":1247,"to":79,"trailing-icon":1248,"variant":1249},"Learn more about the FrankenPHP variation",[1239,1240,1241,1242,1243,1244,1245],[1229,1303,1305],{"id":1304},"unit-deprecated","Unit (deprecated)",[1071,1307,1309],{"target":255,"to":1308},"https://github.com/nginx/unit?tab=readme-ov-file#nginx-unit",[238,1310,1311,1312],{},"In October 2025, NGINX stopped supporting NGINX Unit and archived the project. NGINX Unit has been removed from our project. ",[250,1313,1315],{"href":1308,"rel":1314},[254],"See the official announcement →",[242,1317,1319],{"id":1318},"operating-systems","Operating Systems",[238,1321,1322],{},"Choosing an operating system comes down to a few preferences, but ultimately you need to make sure your dependencies are available for the operating system you choose.",[345,1324,1325,1334],{},[348,1326,1327],{},[351,1328,1329,1332],{},[354,1330,1331],{},"Operating System",[354,1333,1180],{},[361,1335,1336,1346],{},[351,1337,1338,1343],{},[366,1339,1340,1342],{},[280,1341,1032],{}," (default)",[366,1344,1345],{},"Debian is a popular Linux distribution that is known for its stability and reliability. It is the default operating system for our images.",[351,1347,1348,1352],{},[366,1349,1350],{},[280,1351,1037],{},[366,1353,1354],{},"Alpine is a lightweight Linux distribution that is known for its small size and low resource usage.",[1071,1356,1358,1361,1368,1371,1388],{"title":1357},"Choose an OS release that's still supported",[238,1359,1360],{},"We rebuild an image only while the operating system release underneath still receives security updates from its distribution (Debian LTS counts). Once a release reaches end of life, a rebuild cannot deliver any patches, so we stop rebuilding that base and its tags freeze where they are. That is what happened to Debian Bullseye and Alpine 3.16.",[238,1362,1363,1364,1367],{},"Be aware that EOL bases also ship EOL versions of other software like NGINX and OpenSSL, and no amount of ",[280,1365,1366],{},"apt upgrade"," will get you newer ones, because the distribution itself has stopped releasing fixes.",[238,1369,1370],{},"Before picking a base, confirm it's currently supported:",[1372,1373,1374,1381],"ul",{},[262,1375,1376],{},[250,1377,1380],{"href":1378,"rel":1379,"target":255},"https://endoflife.date/debian",[254],"Debian release lifecycle",[262,1382,1383],{},[250,1384,1387],{"href":1385,"rel":1386,"target":255},"https://endoflife.date/alpine-linux",[254],"Alpine Linux release lifecycle",[238,1389,1390,1391,1394],{},"If you must start on an EOL base, treat it as a stepping stone. See ",[250,1392,1081],{"href":1079,"rel":1393},[254]," for the recommended migration approach.",[1229,1396,1398],{"id":1397},"specific-versions","Specific versions",[1100,1400,1401],{},[238,1402,1403,1404,1129,1408,1411],{},"Not all operating systems are available for all image variations and PHP versions. Double check ",[250,1405,268],{"href":1406,"rel":1407,"target":255},"https://hub.docker.com/r/serversideup/php/tags",[254],[250,1409,275],{"href":273,"rel":1410,"target":255},[254]," for the most accurate list of available tags.",[238,1413,1414],{},"We also support specific versions of operating systems. So this means that you can choose versions like:",[1372,1416,1417,1421,1425,1430,1435],{},[262,1418,1419],{},[280,1420,1042],{},[262,1422,1423],{},[280,1424,1047],{},[262,1426,1427],{},[280,1428,1429],{},"alpine3.23",[262,1431,1432],{},[280,1433,1434],{},"alpine3.24",[262,1436,1437,1439],{},[280,1438,1094],{}," (PHP 8.1 only)",[1441,1442,1443],"style",{},"html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}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 .s9osk, html code.shiki .s9osk{--shiki-default:#FFAB70}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}",{"title":10,"searchDepth":1445,"depth":1445,"links":1446},2,[1447,1448,1449,1450,1451,1460],{"id":244,"depth":1445,"text":245},{"id":329,"depth":1445,"text":330},{"id":763,"depth":1445,"text":764},{"id":1137,"depth":1445,"text":317},{"id":1165,"depth":1445,"text":320,"children":1452},[1453,1455,1456,1457,1458,1459],{"id":339,"depth":1454,"text":62},3,{"id":461,"depth":1454,"text":66},{"id":546,"depth":1454,"text":70},{"id":286,"depth":1454,"text":74},{"id":675,"depth":1454,"text":78},{"id":1304,"depth":1454,"text":1305},{"id":1318,"depth":1445,"text":1319,"children":1461},[1462],{"id":1397,"depth":1454,"text":1398},"Learn how to choose the right image for your use case.",null,{},true,{"title":32,"description":1463},"9Mze4utsLlE5b-9sqrrv2kFToRXyJdhvk4ycMsnkDu8",[1470,1472],{"title":28,"path":29,"stem":30,"description":1471,"children":-1},"Discover why thousands of developers trust serversideup/php for their production PHP applications.",{"title":36,"path":37,"stem":38,"description":1473,"children":-1},"Learn how to get started with serversideup/php Docker Images.",1793279089499]