[{"data":1,"prerenderedAt":1712},["Reactive",2],{"content-query-ZpFB5xHTng":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"head":10,"layout":12,"body":13,"_type":1707,"_id":1708,"_source":1709,"_file":1710,"_extension":1711},"/docs/guide/migrating-from-v2-to-v3","guide",false,"","Migrating from v2 to v3","Learn how to migrate from serversideup/php v2 images to v3.",{"title":11},"Migrating from v2 to v3 - Server Side Up","docs",{"type":14,"children":15,"toc":1686},"root",[16,24,34,41,55,90,209,302,315,321,326,479,485,490,497,502,514,534,543,555,613,619,653,662,683,708,728,733,752,764,770,775,781,878,884,889,896,904,910,960,966,1029,1035,1078,1083,1608,1614,1661,1667,1680],{"type":17,"tag":18,"props":19,"children":21},"element","h1",{"id":20},"migrating-from-v2-to-v3",[22],{"type":23,"value":8},"text",{"type":17,"tag":25,"props":26,"children":27},"lead-p",{},[28],{"type":17,"tag":29,"props":30,"children":31},"p",{},[32],{"type":23,"value":33},"If you're moving from v2 to v3, there are a number of changes you should be aware of. We've tried to keep these to a minimum, but some of these changes were necessary to make the project more maintainable and easier to use.",{"type":17,"tag":35,"props":36,"children":38},"h2",{"id":37},"preparing-for-the-migration",[39],{"type":23,"value":40},"👉 Preparing for the migration",{"type":17,"tag":29,"props":42,"children":43},{},[44,46,53],{"type":23,"value":45},"If you're an existing user of our v2 images, be sure that your current configurations are NOT set to use the latest images. To do this, you can lock your images into the ",{"type":17,"tag":47,"props":48,"children":50},"code",{"className":49},[],[51],{"type":23,"value":52},"v2.2.1",{"type":23,"value":54}," tag. This will ensure that you're not automatically upgraded to the v3 images.",{"type":17,"tag":29,"props":56,"children":57},{},[58,60,66,68,74,76,88],{"type":23,"value":59},"For example, if you are using ",{"type":17,"tag":47,"props":61,"children":63},{"className":62},[],[64],{"type":23,"value":65},"8.2-fpm-nginx",{"type":23,"value":67},", you would change your ",{"type":17,"tag":47,"props":69,"children":71},{"className":70},[],[72],{"type":23,"value":73},"docker-compose.yml",{"type":23,"value":75}," file to use the ",{"type":17,"tag":77,"props":78,"children":82},"a",{"href":79,"rel":80},"https://hub.docker.com/r/serversideup/php/tags?page=1&name=2.2.1",[81],"nofollow",[83],{"type":17,"tag":47,"props":84,"children":86},{"className":85},[],[87],{"type":23,"value":52},{"type":23,"value":89}," tag:",{"type":17,"tag":91,"props":92,"children":94},"code-panel",{"label":93},"Original `docker-compose.yml` file",[95],{"type":17,"tag":96,"props":97,"children":101},"pre",{"className":98,"code":99,"language":100,"meta":7,"style":7},"language-yaml shiki shiki-themes github-dark github-dark monokai","services:\n  php:\n    image: serversideup/php:8.2-fpm-nginx\n    ports:\n      - 80:80\n    volumes:\n      - .:/var/www/html\n","yaml",[102],{"type":17,"tag":47,"props":103,"children":104},{"__ignoreMap":7},[105,123,136,156,169,183,196],{"type":17,"tag":106,"props":107,"children":110},"span",{"class":108,"line":109},"line",1,[111,117],{"type":17,"tag":106,"props":112,"children":114},{"style":113},"--shiki-default:#85E89D;--shiki-dark:#85E89D;--shiki-sepia:#F92672",[115],{"type":23,"value":116},"services",{"type":17,"tag":106,"props":118,"children":120},{"style":119},"--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2",[121],{"type":23,"value":122},":\n",{"type":17,"tag":106,"props":124,"children":126},{"class":108,"line":125},2,[127,132],{"type":17,"tag":106,"props":128,"children":129},{"style":113},[130],{"type":23,"value":131},"  php",{"type":17,"tag":106,"props":133,"children":134},{"style":119},[135],{"type":23,"value":122},{"type":17,"tag":106,"props":137,"children":139},{"class":108,"line":138},3,[140,145,150],{"type":17,"tag":106,"props":141,"children":142},{"style":113},[143],{"type":23,"value":144},"    image",{"type":17,"tag":106,"props":146,"children":147},{"style":119},[148],{"type":23,"value":149},": ",{"type":17,"tag":106,"props":151,"children":153},{"style":152},"--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74",[154],{"type":23,"value":155},"serversideup/php:8.2-fpm-nginx\n",{"type":17,"tag":106,"props":157,"children":159},{"class":108,"line":158},4,[160,165],{"type":17,"tag":106,"props":161,"children":162},{"style":113},[163],{"type":23,"value":164},"    ports",{"type":17,"tag":106,"props":166,"children":167},{"style":119},[168],{"type":23,"value":122},{"type":17,"tag":106,"props":170,"children":172},{"class":108,"line":171},5,[173,178],{"type":17,"tag":106,"props":174,"children":175},{"style":119},[176],{"type":23,"value":177},"      - ",{"type":17,"tag":106,"props":179,"children":180},{"style":152},[181],{"type":23,"value":182},"80:80\n",{"type":17,"tag":106,"props":184,"children":186},{"class":108,"line":185},6,[187,192],{"type":17,"tag":106,"props":188,"children":189},{"style":113},[190],{"type":23,"value":191},"    volumes",{"type":17,"tag":106,"props":193,"children":194},{"style":119},[195],{"type":23,"value":122},{"type":17,"tag":106,"props":197,"children":199},{"class":108,"line":198},7,[200,204],{"type":17,"tag":106,"props":201,"children":202},{"style":119},[203],{"type":23,"value":177},{"type":17,"tag":106,"props":205,"children":206},{"style":152},[207],{"type":23,"value":208},".:/var/www/html\n",{"type":17,"tag":91,"props":210,"children":212},{"label":211},"Updated `docker-compose.yml` file",[213],{"type":17,"tag":96,"props":214,"children":216},{"className":98,"code":215,"language":100,"meta":7,"style":7},"services:\n  php:\n    image: serversideup/php:8.2-fpm-nginx-v2.2.1\n    ports:\n      - 80:80\n    volumes:\n      - .:/var/www/html\n",[217],{"type":17,"tag":47,"props":218,"children":219},{"__ignoreMap":7},[220,231,242,258,269,280,291],{"type":17,"tag":106,"props":221,"children":222},{"class":108,"line":109},[223,227],{"type":17,"tag":106,"props":224,"children":225},{"style":113},[226],{"type":23,"value":116},{"type":17,"tag":106,"props":228,"children":229},{"style":119},[230],{"type":23,"value":122},{"type":17,"tag":106,"props":232,"children":233},{"class":108,"line":125},[234,238],{"type":17,"tag":106,"props":235,"children":236},{"style":113},[237],{"type":23,"value":131},{"type":17,"tag":106,"props":239,"children":240},{"style":119},[241],{"type":23,"value":122},{"type":17,"tag":106,"props":243,"children":244},{"class":108,"line":138},[245,249,253],{"type":17,"tag":106,"props":246,"children":247},{"style":113},[248],{"type":23,"value":144},{"type":17,"tag":106,"props":250,"children":251},{"style":119},[252],{"type":23,"value":149},{"type":17,"tag":106,"props":254,"children":255},{"style":152},[256],{"type":23,"value":257},"serversideup/php:8.2-fpm-nginx-v2.2.1\n",{"type":17,"tag":106,"props":259,"children":260},{"class":108,"line":158},[261,265],{"type":17,"tag":106,"props":262,"children":263},{"style":113},[264],{"type":23,"value":164},{"type":17,"tag":106,"props":266,"children":267},{"style":119},[268],{"type":23,"value":122},{"type":17,"tag":106,"props":270,"children":271},{"class":108,"line":171},[272,276],{"type":17,"tag":106,"props":273,"children":274},{"style":119},[275],{"type":23,"value":177},{"type":17,"tag":106,"props":277,"children":278},{"style":152},[279],{"type":23,"value":182},{"type":17,"tag":106,"props":281,"children":282},{"class":108,"line":185},[283,287],{"type":17,"tag":106,"props":284,"children":285},{"style":113},[286],{"type":23,"value":191},{"type":17,"tag":106,"props":288,"children":289},{"style":119},[290],{"type":23,"value":122},{"type":17,"tag":106,"props":292,"children":293},{"class":108,"line":198},[294,298],{"type":17,"tag":106,"props":295,"children":296},{"style":119},[297],{"type":23,"value":177},{"type":17,"tag":106,"props":299,"children":300},{"style":152},[301],{"type":23,"value":208},{"type":17,"tag":29,"props":303,"children":304},{},[305,307,313],{"type":23,"value":306},"All you need to do is add ",{"type":17,"tag":47,"props":308,"children":310},{"className":309},[],[311],{"type":23,"value":312},"-v2.2.1",{"type":23,"value":314}," to the end of the image tag. This will ensure that you're not automatically upgraded to the v3 images.",{"type":17,"tag":35,"props":316,"children":318},{"id":317},"new-features",[319],{"type":23,"value":320},"🚀 New Features",{"type":17,"tag":29,"props":322,"children":323},{},[324],{"type":23,"value":325},"We've been busy overhauling our PHP Docker Images to make them more production-ready and easier to use. Here are some of the new features we've added:",{"type":17,"tag":327,"props":328,"children":329},"ul",{},[330,342,352,362,388,406,459,469],{"type":17,"tag":331,"props":332,"children":333},"li",{},[334,340],{"type":17,"tag":335,"props":336,"children":337},"strong",{},[338],{"type":23,"value":339},"Based on official PHP Images",{"type":23,"value":341}," - We're now building an improved developer experience on top of the official PHP Docker images.",{"type":17,"tag":331,"props":343,"children":344},{},[345,350],{"type":17,"tag":335,"props":346,"children":347},{},[348],{"type":23,"value":349},"Unprivileged by default",{"type":23,"value":351}," - We're now running our images as an unprivileged user by default. This is a huge step forward in security and compatibility.",{"type":17,"tag":331,"props":353,"children":354},{},[355,360],{"type":17,"tag":335,"props":356,"children":357},{},[358],{"type":23,"value":359},"PHP 8.3 support",{"type":23,"value":361}," - We're now shipping the latest and greatest.",{"type":17,"tag":331,"props":363,"children":364},{},[365,370,372,378,380,386],{"type":17,"tag":335,"props":366,"children":367},{},[368],{"type":23,"value":369},"Pin to the exact minor version",{"type":23,"value":371}," - Pin your app to the exact minor version of PHP that you want to use. This means you can pin to ",{"type":17,"tag":47,"props":373,"children":375},{"className":374},[],[376],{"type":23,"value":377},"8.2.12",{"type":23,"value":379}," instead of ",{"type":17,"tag":47,"props":381,"children":383},{"className":382},[],[384],{"type":23,"value":385},"8.2",{"type":23,"value":387},".",{"type":17,"tag":331,"props":389,"children":390},{},[391,396,398,404],{"type":17,"tag":335,"props":392,"children":393},{},[394],{"type":23,"value":395},"Easier start up script customization",{"type":23,"value":397}," - We now have a folder called ",{"type":17,"tag":47,"props":399,"children":401},{"className":400},[],[402],{"type":23,"value":403},"/etc/entrypoint.d",{"type":23,"value":405}," that allows you to easily customize your container with scripts. Just put them in numerical order and we'll execute any shell script you want. No S6 Overlay knowledge required.",{"type":17,"tag":331,"props":407,"children":408},{},[409,414,416,422,424,430,431,437,438,444,445,451,453],{"type":17,"tag":335,"props":410,"children":411},{},[412],{"type":23,"value":413},"Expanded Laravel Automations",{"type":23,"value":415}," - We added automations to run ",{"type":17,"tag":47,"props":417,"children":419},{"className":418},[],[420],{"type":23,"value":421},"config:cache",{"type":23,"value":423},", ",{"type":17,"tag":47,"props":425,"children":427},{"className":426},[],[428],{"type":23,"value":429},"route:cache",{"type":23,"value":423},{"type":17,"tag":47,"props":432,"children":434},{"className":433},[],[435],{"type":23,"value":436},"view:cache",{"type":23,"value":423},{"type":17,"tag":47,"props":439,"children":441},{"className":440},[],[442],{"type":23,"value":443},"event:cache",{"type":23,"value":423},{"type":17,"tag":47,"props":446,"children":448},{"className":447},[],[449],{"type":23,"value":450},"migrate --force --isolated",{"type":23,"value":452},", and ",{"type":17,"tag":47,"props":454,"children":456},{"className":455},[],[457],{"type":23,"value":458},"storage:link",{"type":17,"tag":331,"props":460,"children":461},{},[462,467],{"type":17,"tag":335,"props":463,"children":464},{},[465],{"type":23,"value":466},"NGINX Unit Support",{"type":23,"value":468}," - We're offering NGINX Unit as a variation as an alternative to PHP-FPM. This allows you to run PHP applications without the need for a webserver like NGINX or Apache to run with PHP-FPM.",{"type":17,"tag":331,"props":470,"children":471},{},[472,477],{"type":17,"tag":335,"props":473,"children":474},{},[475],{"type":23,"value":476},"Available on GitHub Packages",{"type":23,"value":478}," - We're now publishing our images to GitHub Packages. This means you can use our images without needing to authenticate with Docker Hub.",{"type":17,"tag":35,"props":480,"children":482},{"id":481},"️-breaking-changes",[483],{"type":23,"value":484},"⚠️ Breaking changes",{"type":17,"tag":29,"props":486,"children":487},{},[488],{"type":23,"value":489},"The following changes are considered to be \"breaking changes\" and will require you to make changes to your application.",{"type":17,"tag":491,"props":492,"children":494},"h3",{"id":493},"ubuntu-is-no-longer-used-as-a-base-image",[495],{"type":23,"value":496},"Ubuntu is no longer used as a base image",{"type":17,"tag":29,"props":498,"children":499},{},[500],{"type":23,"value":501},"We now use Debian or Alpine as our base OS (because we're using the official PHP images as a base). This is a huge change, but we're confident this will be the best direction moving forward.",{"type":17,"tag":491,"props":503,"children":505},{"id":504},"ppaondrejphp-is-no-longer-used",[506,512],{"type":17,"tag":47,"props":507,"children":509},{"className":508},[],[510],{"type":23,"value":511},"ppa:ondrej/php",{"type":23,"value":513}," is no longer used",{"type":17,"tag":29,"props":515,"children":516},{},[517,519,524,526,532],{"type":23,"value":518},"Since we're using PHP.net as the \"official source of truth\" for getting our PHP versions, this means we're also dropping support for the ",{"type":17,"tag":47,"props":520,"children":522},{"className":521},[],[523],{"type":23,"value":511},{"type":23,"value":525}," repository. If you're using things like ",{"type":17,"tag":47,"props":527,"children":529},{"className":528},[],[530],{"type":23,"value":531},"apt-get install php-redis",{"type":23,"value":533}," you will need to change your method of installing PHP extensions.",{"type":17,"tag":29,"props":535,"children":536},{},[537],{"type":17,"tag":77,"props":538,"children":540},{"href":539},"/docs/customizing-the-image/installing-additional-php-extensions",[541],{"type":23,"value":542},"Learn how to install your own PHP extension →",{"type":17,"tag":491,"props":544,"children":546},{"id":545},"webuser-is-no-longer-being-used",[547,553],{"type":17,"tag":47,"props":548,"children":550},{"className":549},[],[551],{"type":23,"value":552},"webuser",{"type":23,"value":554}," is no longer being used",{"type":17,"tag":29,"props":556,"children":557},{},[558,560,565,567,573,575,581,583,589,591,596,598,604,606,612],{"type":23,"value":559},"We used to add a user called ",{"type":17,"tag":47,"props":561,"children":563},{"className":562},[],[564],{"type":23,"value":552},{"type":23,"value":566}," with the UID of ",{"type":17,"tag":47,"props":568,"children":570},{"className":569},[],[571],{"type":23,"value":572},"9999",{"type":23,"value":574}," with shell permissions. To increase security, we're now using the ",{"type":17,"tag":47,"props":576,"children":578},{"className":577},[],[579],{"type":23,"value":580},"www-data",{"type":23,"value":582}," user and group that is built into the official PHP images. If you have mounted volumes, you will need to ",{"type":17,"tag":47,"props":584,"children":586},{"className":585},[],[587],{"type":23,"value":588},"chown",{"type":23,"value":590}," the files to match the ID of the ",{"type":17,"tag":47,"props":592,"children":594},{"className":593},[],[595],{"type":23,"value":580},{"type":23,"value":597}," user and groups. For Debian, this is ",{"type":17,"tag":47,"props":599,"children":601},{"className":600},[],[602],{"type":23,"value":603},"33:33",{"type":23,"value":605}," and for Alpine, this is ",{"type":17,"tag":47,"props":607,"children":609},{"className":608},[],[610],{"type":23,"value":611},"82:82",{"type":23,"value":387},{"type":17,"tag":491,"props":614,"children":616},{"id":615},"nginx-and-apache-listen-on-8080-http-and-8443-https-by-default",[617],{"type":23,"value":618},"NGINX and Apache listen on 8080 (HTTP) and 8443 (HTTPS) by default",{"type":17,"tag":29,"props":620,"children":621},{},[622,624,630,632,638,639,645,646,652],{"type":23,"value":623},"Our images are now unprivileged by default. This is a major step forward in security and compatibility. Since we are unprivileged by default, we lose the ability to mount on ports less than 1024. If you're using NGINX or Apache, you will need to update your port mappings to use ",{"type":17,"tag":47,"props":625,"children":627},{"className":626},[],[628],{"type":23,"value":629},"8080",{"type":23,"value":631}," and ",{"type":17,"tag":47,"props":633,"children":635},{"className":634},[],[636],{"type":23,"value":637},"8443",{"type":23,"value":379},{"type":17,"tag":47,"props":640,"children":642},{"className":641},[],[643],{"type":23,"value":644},"80",{"type":23,"value":631},{"type":17,"tag":47,"props":647,"children":649},{"className":648},[],[650],{"type":23,"value":651},"443",{"type":23,"value":387},{"type":17,"tag":29,"props":654,"children":655},{},[656],{"type":17,"tag":77,"props":657,"children":659},{"href":658},"/docs/getting-started/default-configurations#unprivileged-by-default",[660],{"type":23,"value":661},"Learn more about this change →",{"type":17,"tag":491,"props":663,"children":665},{"id":664},"s6-overlay-is-only-used-in-fpm-apache-and-fpm-nginx-images",[666,668,674,675,681],{"type":23,"value":667},"S6 Overlay is only used in ",{"type":17,"tag":47,"props":669,"children":671},{"className":670},[],[672],{"type":23,"value":673},"*-fpm-apache",{"type":23,"value":631},{"type":17,"tag":47,"props":676,"children":678},{"className":677},[],[679],{"type":23,"value":680},"*-fpm-nginx",{"type":23,"value":682}," images",{"type":17,"tag":29,"props":684,"children":685},{},[686,688,693,694,699,701,706],{"type":23,"value":687},"Due to compatibility issues, we only use S6 Overlay in our ",{"type":17,"tag":47,"props":689,"children":691},{"className":690},[],[692],{"type":23,"value":673},{"type":23,"value":631},{"type":17,"tag":47,"props":695,"children":697},{"className":696},[],[698],{"type":23,"value":680},{"type":23,"value":700}," images. If you were using S6 Overlay for our other variations (cli, fpm, etc), you will need to migrate your scripts to use the new ",{"type":17,"tag":47,"props":702,"children":704},{"className":703},[],[705],{"type":23,"value":403},{"type":23,"value":707}," folder.",{"type":17,"tag":491,"props":709,"children":711},{"id":710},"ssl_mode-is-now-set-to-off-by-default-http-only",[712,718,720,726],{"type":17,"tag":47,"props":713,"children":715},{"className":714},[],[716],{"type":23,"value":717},"SSL_MODE",{"type":23,"value":719}," is now set to ",{"type":17,"tag":47,"props":721,"children":723},{"className":722},[],[724],{"type":23,"value":725},"off",{"type":23,"value":727}," by default (HTTP only)",{"type":17,"tag":29,"props":729,"children":730},{},[731],{"type":23,"value":732},"Running end-to-end SSL by default created more problems than good. By default, we're now shipping HTTP-only by default with the option for people to turn this on.",{"type":17,"tag":491,"props":734,"children":736},{"id":735},"autorun_enabled-is-now-set-to-false-by-default",[737,743,744,750],{"type":17,"tag":47,"props":738,"children":740},{"className":739},[],[741],{"type":23,"value":742},"AUTORUN_ENABLED",{"type":23,"value":719},{"type":17,"tag":47,"props":745,"children":747},{"className":746},[],[748],{"type":23,"value":749},"false",{"type":23,"value":751}," by default.",{"type":17,"tag":29,"props":753,"children":754},{},[755,757,763],{"type":23,"value":756},"Having this set to \"true\" by default also created more problems than good. If you want to use any of the Laravel Automation Scripts, be sure to set this to ",{"type":17,"tag":47,"props":758,"children":760},{"className":759},[],[761],{"type":23,"value":762},"true",{"type":23,"value":387},{"type":17,"tag":491,"props":765,"children":767},{"id":766},"msmtp-is-no-longer-included-in-the-images",[768],{"type":23,"value":769},"MSMTP is no longer included in the images",{"type":17,"tag":29,"props":771,"children":772},{},[773],{"type":23,"value":774},"For security and image size reasons, we removed MSMTP from the images. If you need to send emails, use an external SMTP service like Postmark/Sendgrid/Mailgun. You can also extend the image yourself to include MSMTP specifically for your use case.",{"type":17,"tag":491,"props":776,"children":778},{"id":777},"variable-deprecations",[779],{"type":23,"value":780},"Variable deprecations",{"type":17,"tag":327,"props":782,"children":783},{},[784,801,818,843,861],{"type":17,"tag":331,"props":785,"children":786},{},[787,793,795],{"type":17,"tag":47,"props":788,"children":790},{"className":789},[],[791],{"type":23,"value":792},"WEB_APP_DIRECTORY",{"type":23,"value":794}," has now been renamed to ",{"type":17,"tag":47,"props":796,"children":798},{"className":797},[],[799],{"type":23,"value":800},"APP_BASE_DIR",{"type":17,"tag":331,"props":802,"children":803},{},[804,810,812],{"type":17,"tag":47,"props":805,"children":807},{"className":806},[],[808],{"type":23,"value":809},"DEBUG_OUTPUT",{"type":23,"value":811}," has been removed for in favor of ",{"type":17,"tag":47,"props":813,"children":815},{"className":814},[],[816],{"type":23,"value":817},"LOG_OUTPUT_LEVEL=debug",{"type":17,"tag":331,"props":819,"children":820},{},[821,827,829,835,837],{"type":17,"tag":47,"props":822,"children":824},{"className":823},[],[825],{"type":23,"value":826},"PUID",{"type":23,"value":828}," & ",{"type":17,"tag":47,"props":830,"children":832},{"className":831},[],[833],{"type":23,"value":834},"PGID",{"type":23,"value":836}," are no longer used because it requires root privileges. See the ",{"type":17,"tag":77,"props":838,"children":840},{"href":839},"/docs/guide/understanding-file-permissions",[841],{"type":23,"value":842},"new way to set the UID and GID →",{"type":17,"tag":331,"props":844,"children":845},{},[846,852,853,859],{"type":17,"tag":47,"props":847,"children":849},{"className":848},[],[850],{"type":23,"value":851},"MSMTP_RELAY_SERVER_HOSTNAME",{"type":23,"value":828},{"type":17,"tag":47,"props":854,"children":856},{"className":855},[],[857],{"type":23,"value":858},"MSMTP_RELAY_SERVER_PORT",{"type":23,"value":860}," are no longer used because MSMTP is no longer included in the images.",{"type":17,"tag":331,"props":862,"children":863},{},[864,870,872],{"type":17,"tag":47,"props":865,"children":867},{"className":866},[],[868],{"type":23,"value":869},"PHP_POOL_NAME",{"type":23,"value":871}," has been renamed to ",{"type":17,"tag":47,"props":873,"children":875},{"className":874},[],[876],{"type":23,"value":877},"PHP_FPM_POOL_NAME",{"type":17,"tag":35,"props":879,"children":881},{"id":880},"migration-checklist",[882],{"type":23,"value":883},"📝 Migration Checklist",{"type":17,"tag":29,"props":885,"children":886},{},[887],{"type":23,"value":888},"Here is a good list to perform the migration",{"type":17,"tag":890,"props":891,"children":893},"h4",{"id":892},"repository",[894],{"type":23,"value":895},"Repository",{"type":17,"tag":327,"props":897,"children":898},{},[899],{"type":17,"tag":331,"props":900,"children":901},{},[902],{"type":23,"value":903},"Ensure you're committing to a test environment",{"type":17,"tag":890,"props":905,"children":907},{"id":906},"docker-compose",[908],{"type":23,"value":909},"Docker Compose",{"type":17,"tag":327,"props":911,"children":912},{},[913,918,929,947],{"type":17,"tag":331,"props":914,"children":915},{},[916],{"type":23,"value":917},"Update the image name (if applicable)",{"type":17,"tag":331,"props":919,"children":920},{},[921,923],{"type":23,"value":922},"Check each environment variable exists and is set to a proper value ",{"type":17,"tag":77,"props":924,"children":926},{"href":925},"/docs/reference/environment-variable-specification",[927],{"type":23,"value":928},"See the full list of environment variables →",{"type":17,"tag":331,"props":930,"children":931},{},[932,934,939,940,945],{"type":23,"value":933},"Ensure you updated the ports to ",{"type":17,"tag":47,"props":935,"children":937},{"className":936},[],[938],{"type":23,"value":629},{"type":23,"value":631},{"type":17,"tag":47,"props":941,"children":943},{"className":942},[],[944],{"type":23,"value":637},{"type":23,"value":946}," for NGINX, Apache, and Unit",{"type":17,"tag":331,"props":948,"children":949},{},[950,952,958],{"type":23,"value":951},"Consider adding ",{"type":17,"tag":47,"props":953,"children":955},{"className":954},[],[956],{"type":23,"value":957},"PHP_OPCACHE_ENABLE=1",{"type":23,"value":959}," to your production environment for increased performance",{"type":17,"tag":890,"props":961,"children":963},{"id":962},"dockerfile",[964],{"type":23,"value":965},"Dockerfile",{"type":17,"tag":327,"props":967,"children":968},{},[969,974,986,991,1008],{"type":17,"tag":331,"props":970,"children":971},{},[972],{"type":23,"value":973},"Update the base image name (if applicable)",{"type":17,"tag":331,"props":975,"children":976},{},[977,979,984],{"type":23,"value":978},"Remove any ",{"type":17,"tag":47,"props":980,"children":982},{"className":981},[],[983],{"type":23,"value":511},{"type":23,"value":985}," references",{"type":17,"tag":331,"props":987,"children":988},{},[989],{"type":23,"value":990},"Remove any Ubuntu specific commands",{"type":17,"tag":331,"props":992,"children":993},{},[994,996,1002,1004],{"type":23,"value":995},"Ensure all extensions are installed with the ",{"type":17,"tag":47,"props":997,"children":999},{"className":998},[],[1000],{"type":23,"value":1001},"install-php-extensions",{"type":23,"value":1003}," command ",{"type":17,"tag":77,"props":1005,"children":1006},{"href":539},[1007],{"type":23,"value":542},{"type":17,"tag":331,"props":1009,"children":1010},{},[1011,1013,1019,1021,1027],{"type":23,"value":1012},"Ensure your ",{"type":17,"tag":47,"props":1014,"children":1016},{"className":1015},[],[1017],{"type":23,"value":1018},"COPY",{"type":23,"value":1020}," commands are copying with the correct permissions (i.e. ",{"type":17,"tag":47,"props":1022,"children":1024},{"className":1023},[],[1025],{"type":23,"value":1026},"--chown=www-data:www-data",{"type":23,"value":1028},")",{"type":17,"tag":890,"props":1030,"children":1032},{"id":1031},"cicd",[1033],{"type":23,"value":1034},"CI/CD",{"type":17,"tag":29,"props":1036,"children":1037},{},[1038,1040,1046,1048,1053,1055,1061,1062,1068,1070,1076],{"type":23,"value":1039},"If you're running ",{"type":17,"tag":47,"props":1041,"children":1043},{"className":1042},[],[1044],{"type":23,"value":1045},"fpm-nginx",{"type":23,"value":1047}," (or similar) on a runner that's running as your builds as ",{"type":17,"tag":47,"props":1049,"children":1051},{"className":1050},[],[1052],{"type":23,"value":14},{"type":23,"value":1054},", you may need to add ",{"type":17,"tag":47,"props":1056,"children":1058},{"className":1057},[],[1059],{"type":23,"value":1060},"user = www-data",{"type":23,"value":631},{"type":17,"tag":47,"props":1063,"children":1065},{"className":1064},[],[1066],{"type":23,"value":1067},"group = www-data",{"type":23,"value":1069}," to your ",{"type":17,"tag":47,"props":1071,"children":1073},{"className":1072},[],[1074],{"type":23,"value":1075},"php-fpm.conf",{"type":23,"value":1077}," file so you can bring FPM up correctly.",{"type":17,"tag":29,"props":1079,"children":1080},{},[1081],{"type":23,"value":1082},"If you have to run things as root in CI, you can do this with a multi stage build and set the targets:",{"type":17,"tag":91,"props":1084,"children":1085},{"label":965},[1086],{"type":17,"tag":96,"props":1087,"children":1090},{"className":1088,"code":1089,"language":962,"meta":7,"style":7},"language-dockerfile shiki shiki-themes github-dark github-dark monokai","############################################\n# Base Image\n############################################\n\n# Learn more about the Server Side Up PHP Docker Images at:\n# https://serversideup.net/open-source/docker-php/\nFROM serversideup/php:8.3-fpm-nginx AS base\n\n## Uncomment if you need to install additional PHP extensions\n# USER root\n# RUN install-php-extensions bcmath gd\n\n############################################\n# Development Image\n############################################\nFROM base AS development\n\n# We can pass USER_ID and GROUP_ID as build arguments\n# to ensure the www-data user has the same UID and GID\n# as the user running Docker.\nARG USER_ID\nARG GROUP_ID\n\n# Switch to root so we can set the user ID and group ID\nUSER root\nRUN docker-php-serversideup-set-id www-data $USER_ID:$GROUP_ID  && \\\n    docker-php-serversideup-set-file-permissions --owner $USER_ID:$GROUP_ID --service nginx\nUSER www-data\n\n############################################\n# CI image\n############################################\nFROM base AS ci\n\n# Sometimes CI images need to run as root\n# so we set the ROOT user and configure\n# the PHP-FPM pool to run as www-data\nUSER root\nRUN echo \"user = www-data\" >> /usr/local/etc/php-fpm.d/docker-php-serversideup-pool.conf && \\\n    echo \"group = www-data\" >> /usr/local/etc/php-fpm.d/docker-php-serversideup-pool.conf\n\n############################################\n# Production Image\n############################################\nFROM base AS deploy\nCOPY --chown=www-data:www-data . /var/www/html\nUSER www-data\n",[1091],{"type":17,"tag":47,"props":1092,"children":1093},{"__ignoreMap":7},[1094,1103,1111,1118,1127,1135,1143,1167,1175,1184,1193,1202,1210,1218,1227,1235,1257,1265,1274,1283,1292,1306,1319,1327,1336,1350,1364,1373,1386,1394,1402,1411,1419,1440,1448,1457,1466,1475,1487,1510,1529,1537,1545,1554,1562,1583,1596],{"type":17,"tag":106,"props":1095,"children":1096},{"class":108,"line":109},[1097],{"type":17,"tag":106,"props":1098,"children":1100},{"style":1099},"--shiki-default:#6A737D;--shiki-dark:#6A737D;--shiki-sepia:#88846F",[1101],{"type":23,"value":1102},"############################################\n",{"type":17,"tag":106,"props":1104,"children":1105},{"class":108,"line":125},[1106],{"type":17,"tag":106,"props":1107,"children":1108},{"style":1099},[1109],{"type":23,"value":1110},"# Base Image\n",{"type":17,"tag":106,"props":1112,"children":1113},{"class":108,"line":138},[1114],{"type":17,"tag":106,"props":1115,"children":1116},{"style":1099},[1117],{"type":23,"value":1102},{"type":17,"tag":106,"props":1119,"children":1120},{"class":108,"line":158},[1121],{"type":17,"tag":106,"props":1122,"children":1124},{"emptyLinePlaceholder":1123},true,[1125],{"type":23,"value":1126},"\n",{"type":17,"tag":106,"props":1128,"children":1129},{"class":108,"line":171},[1130],{"type":17,"tag":106,"props":1131,"children":1132},{"style":1099},[1133],{"type":23,"value":1134},"# Learn more about the Server Side Up PHP Docker Images at:\n",{"type":17,"tag":106,"props":1136,"children":1137},{"class":108,"line":185},[1138],{"type":17,"tag":106,"props":1139,"children":1140},{"style":1099},[1141],{"type":23,"value":1142},"# https://serversideup.net/open-source/docker-php/\n",{"type":17,"tag":106,"props":1144,"children":1145},{"class":108,"line":198},[1146,1152,1157,1162],{"type":17,"tag":106,"props":1147,"children":1149},{"style":1148},"--shiki-default:#F97583;--shiki-dark:#F97583;--shiki-sepia:#F92672",[1150],{"type":23,"value":1151},"FROM",{"type":17,"tag":106,"props":1153,"children":1154},{"style":119},[1155],{"type":23,"value":1156}," serversideup/php:8.3-fpm-nginx ",{"type":17,"tag":106,"props":1158,"children":1159},{"style":1148},[1160],{"type":23,"value":1161},"AS",{"type":17,"tag":106,"props":1163,"children":1164},{"style":119},[1165],{"type":23,"value":1166}," base\n",{"type":17,"tag":106,"props":1168,"children":1170},{"class":108,"line":1169},8,[1171],{"type":17,"tag":106,"props":1172,"children":1173},{"emptyLinePlaceholder":1123},[1174],{"type":23,"value":1126},{"type":17,"tag":106,"props":1176,"children":1178},{"class":108,"line":1177},9,[1179],{"type":17,"tag":106,"props":1180,"children":1181},{"style":1099},[1182],{"type":23,"value":1183},"## Uncomment if you need to install additional PHP extensions\n",{"type":17,"tag":106,"props":1185,"children":1187},{"class":108,"line":1186},10,[1188],{"type":17,"tag":106,"props":1189,"children":1190},{"style":1099},[1191],{"type":23,"value":1192},"# USER root\n",{"type":17,"tag":106,"props":1194,"children":1196},{"class":108,"line":1195},11,[1197],{"type":17,"tag":106,"props":1198,"children":1199},{"style":1099},[1200],{"type":23,"value":1201},"# RUN install-php-extensions bcmath gd\n",{"type":17,"tag":106,"props":1203,"children":1205},{"class":108,"line":1204},12,[1206],{"type":17,"tag":106,"props":1207,"children":1208},{"emptyLinePlaceholder":1123},[1209],{"type":23,"value":1126},{"type":17,"tag":106,"props":1211,"children":1213},{"class":108,"line":1212},13,[1214],{"type":17,"tag":106,"props":1215,"children":1216},{"style":1099},[1217],{"type":23,"value":1102},{"type":17,"tag":106,"props":1219,"children":1221},{"class":108,"line":1220},14,[1222],{"type":17,"tag":106,"props":1223,"children":1224},{"style":1099},[1225],{"type":23,"value":1226},"# Development Image\n",{"type":17,"tag":106,"props":1228,"children":1230},{"class":108,"line":1229},15,[1231],{"type":17,"tag":106,"props":1232,"children":1233},{"style":1099},[1234],{"type":23,"value":1102},{"type":17,"tag":106,"props":1236,"children":1238},{"class":108,"line":1237},16,[1239,1243,1248,1252],{"type":17,"tag":106,"props":1240,"children":1241},{"style":1148},[1242],{"type":23,"value":1151},{"type":17,"tag":106,"props":1244,"children":1245},{"style":119},[1246],{"type":23,"value":1247}," base ",{"type":17,"tag":106,"props":1249,"children":1250},{"style":1148},[1251],{"type":23,"value":1161},{"type":17,"tag":106,"props":1253,"children":1254},{"style":119},[1255],{"type":23,"value":1256}," development\n",{"type":17,"tag":106,"props":1258,"children":1260},{"class":108,"line":1259},17,[1261],{"type":17,"tag":106,"props":1262,"children":1263},{"emptyLinePlaceholder":1123},[1264],{"type":23,"value":1126},{"type":17,"tag":106,"props":1266,"children":1268},{"class":108,"line":1267},18,[1269],{"type":17,"tag":106,"props":1270,"children":1271},{"style":1099},[1272],{"type":23,"value":1273},"# We can pass USER_ID and GROUP_ID as build arguments\n",{"type":17,"tag":106,"props":1275,"children":1277},{"class":108,"line":1276},19,[1278],{"type":17,"tag":106,"props":1279,"children":1280},{"style":1099},[1281],{"type":23,"value":1282},"# to ensure the www-data user has the same UID and GID\n",{"type":17,"tag":106,"props":1284,"children":1286},{"class":108,"line":1285},20,[1287],{"type":17,"tag":106,"props":1288,"children":1289},{"style":1099},[1290],{"type":23,"value":1291},"# as the user running Docker.\n",{"type":17,"tag":106,"props":1293,"children":1295},{"class":108,"line":1294},21,[1296,1301],{"type":17,"tag":106,"props":1297,"children":1298},{"style":1148},[1299],{"type":23,"value":1300},"ARG",{"type":17,"tag":106,"props":1302,"children":1303},{"style":119},[1304],{"type":23,"value":1305}," USER_ID\n",{"type":17,"tag":106,"props":1307,"children":1309},{"class":108,"line":1308},22,[1310,1314],{"type":17,"tag":106,"props":1311,"children":1312},{"style":1148},[1313],{"type":23,"value":1300},{"type":17,"tag":106,"props":1315,"children":1316},{"style":119},[1317],{"type":23,"value":1318}," GROUP_ID\n",{"type":17,"tag":106,"props":1320,"children":1322},{"class":108,"line":1321},23,[1323],{"type":17,"tag":106,"props":1324,"children":1325},{"emptyLinePlaceholder":1123},[1326],{"type":23,"value":1126},{"type":17,"tag":106,"props":1328,"children":1330},{"class":108,"line":1329},24,[1331],{"type":17,"tag":106,"props":1332,"children":1333},{"style":1099},[1334],{"type":23,"value":1335},"# Switch to root so we can set the user ID and group ID\n",{"type":17,"tag":106,"props":1337,"children":1339},{"class":108,"line":1338},25,[1340,1345],{"type":17,"tag":106,"props":1341,"children":1342},{"style":1148},[1343],{"type":23,"value":1344},"USER",{"type":17,"tag":106,"props":1346,"children":1347},{"style":119},[1348],{"type":23,"value":1349}," root\n",{"type":17,"tag":106,"props":1351,"children":1353},{"class":108,"line":1352},26,[1354,1359],{"type":17,"tag":106,"props":1355,"children":1356},{"style":1148},[1357],{"type":23,"value":1358},"RUN",{"type":17,"tag":106,"props":1360,"children":1361},{"style":119},[1362],{"type":23,"value":1363}," docker-php-serversideup-set-id www-data $USER_ID:$GROUP_ID  && \\\n",{"type":17,"tag":106,"props":1365,"children":1367},{"class":108,"line":1366},27,[1368],{"type":17,"tag":106,"props":1369,"children":1370},{"style":119},[1371],{"type":23,"value":1372},"    docker-php-serversideup-set-file-permissions --owner $USER_ID:$GROUP_ID --service nginx\n",{"type":17,"tag":106,"props":1374,"children":1376},{"class":108,"line":1375},28,[1377,1381],{"type":17,"tag":106,"props":1378,"children":1379},{"style":1148},[1380],{"type":23,"value":1344},{"type":17,"tag":106,"props":1382,"children":1383},{"style":119},[1384],{"type":23,"value":1385}," www-data\n",{"type":17,"tag":106,"props":1387,"children":1389},{"class":108,"line":1388},29,[1390],{"type":17,"tag":106,"props":1391,"children":1392},{"emptyLinePlaceholder":1123},[1393],{"type":23,"value":1126},{"type":17,"tag":106,"props":1395,"children":1397},{"class":108,"line":1396},30,[1398],{"type":17,"tag":106,"props":1399,"children":1400},{"style":1099},[1401],{"type":23,"value":1102},{"type":17,"tag":106,"props":1403,"children":1405},{"class":108,"line":1404},31,[1406],{"type":17,"tag":106,"props":1407,"children":1408},{"style":1099},[1409],{"type":23,"value":1410},"# CI image\n",{"type":17,"tag":106,"props":1412,"children":1414},{"class":108,"line":1413},32,[1415],{"type":17,"tag":106,"props":1416,"children":1417},{"style":1099},[1418],{"type":23,"value":1102},{"type":17,"tag":106,"props":1420,"children":1422},{"class":108,"line":1421},33,[1423,1427,1431,1435],{"type":17,"tag":106,"props":1424,"children":1425},{"style":1148},[1426],{"type":23,"value":1151},{"type":17,"tag":106,"props":1428,"children":1429},{"style":119},[1430],{"type":23,"value":1247},{"type":17,"tag":106,"props":1432,"children":1433},{"style":1148},[1434],{"type":23,"value":1161},{"type":17,"tag":106,"props":1436,"children":1437},{"style":119},[1438],{"type":23,"value":1439}," ci\n",{"type":17,"tag":106,"props":1441,"children":1443},{"class":108,"line":1442},34,[1444],{"type":17,"tag":106,"props":1445,"children":1446},{"emptyLinePlaceholder":1123},[1447],{"type":23,"value":1126},{"type":17,"tag":106,"props":1449,"children":1451},{"class":108,"line":1450},35,[1452],{"type":17,"tag":106,"props":1453,"children":1454},{"style":1099},[1455],{"type":23,"value":1456},"# Sometimes CI images need to run as root\n",{"type":17,"tag":106,"props":1458,"children":1460},{"class":108,"line":1459},36,[1461],{"type":17,"tag":106,"props":1462,"children":1463},{"style":1099},[1464],{"type":23,"value":1465},"# so we set the ROOT user and configure\n",{"type":17,"tag":106,"props":1467,"children":1469},{"class":108,"line":1468},37,[1470],{"type":17,"tag":106,"props":1471,"children":1472},{"style":1099},[1473],{"type":23,"value":1474},"# the PHP-FPM pool to run as www-data\n",{"type":17,"tag":106,"props":1476,"children":1478},{"class":108,"line":1477},38,[1479,1483],{"type":17,"tag":106,"props":1480,"children":1481},{"style":1148},[1482],{"type":23,"value":1344},{"type":17,"tag":106,"props":1484,"children":1485},{"style":119},[1486],{"type":23,"value":1349},{"type":17,"tag":106,"props":1488,"children":1490},{"class":108,"line":1489},39,[1491,1495,1500,1505],{"type":17,"tag":106,"props":1492,"children":1493},{"style":1148},[1494],{"type":23,"value":1358},{"type":17,"tag":106,"props":1496,"children":1497},{"style":119},[1498],{"type":23,"value":1499}," echo ",{"type":17,"tag":106,"props":1501,"children":1502},{"style":152},[1503],{"type":23,"value":1504},"\"user = www-data\"",{"type":17,"tag":106,"props":1506,"children":1507},{"style":119},[1508],{"type":23,"value":1509}," >> /usr/local/etc/php-fpm.d/docker-php-serversideup-pool.conf && \\\n",{"type":17,"tag":106,"props":1511,"children":1513},{"class":108,"line":1512},40,[1514,1519,1524],{"type":17,"tag":106,"props":1515,"children":1516},{"style":119},[1517],{"type":23,"value":1518},"    echo ",{"type":17,"tag":106,"props":1520,"children":1521},{"style":152},[1522],{"type":23,"value":1523},"\"group = www-data\"",{"type":17,"tag":106,"props":1525,"children":1526},{"style":119},[1527],{"type":23,"value":1528}," >> /usr/local/etc/php-fpm.d/docker-php-serversideup-pool.conf\n",{"type":17,"tag":106,"props":1530,"children":1532},{"class":108,"line":1531},41,[1533],{"type":17,"tag":106,"props":1534,"children":1535},{"emptyLinePlaceholder":1123},[1536],{"type":23,"value":1126},{"type":17,"tag":106,"props":1538,"children":1540},{"class":108,"line":1539},42,[1541],{"type":17,"tag":106,"props":1542,"children":1543},{"style":1099},[1544],{"type":23,"value":1102},{"type":17,"tag":106,"props":1546,"children":1548},{"class":108,"line":1547},43,[1549],{"type":17,"tag":106,"props":1550,"children":1551},{"style":1099},[1552],{"type":23,"value":1553},"# Production Image\n",{"type":17,"tag":106,"props":1555,"children":1557},{"class":108,"line":1556},44,[1558],{"type":17,"tag":106,"props":1559,"children":1560},{"style":1099},[1561],{"type":23,"value":1102},{"type":17,"tag":106,"props":1563,"children":1565},{"class":108,"line":1564},45,[1566,1570,1574,1578],{"type":17,"tag":106,"props":1567,"children":1568},{"style":1148},[1569],{"type":23,"value":1151},{"type":17,"tag":106,"props":1571,"children":1572},{"style":119},[1573],{"type":23,"value":1247},{"type":17,"tag":106,"props":1575,"children":1576},{"style":1148},[1577],{"type":23,"value":1161},{"type":17,"tag":106,"props":1579,"children":1580},{"style":119},[1581],{"type":23,"value":1582}," deploy\n",{"type":17,"tag":106,"props":1584,"children":1586},{"class":108,"line":1585},46,[1587,1591],{"type":17,"tag":106,"props":1588,"children":1589},{"style":1148},[1590],{"type":23,"value":1018},{"type":17,"tag":106,"props":1592,"children":1593},{"style":119},[1594],{"type":23,"value":1595}," --chown=www-data:www-data . /var/www/html\n",{"type":17,"tag":106,"props":1597,"children":1599},{"class":108,"line":1598},47,[1600,1604],{"type":17,"tag":106,"props":1601,"children":1602},{"style":1148},[1603],{"type":23,"value":1344},{"type":17,"tag":106,"props":1605,"children":1606},{"style":119},[1607],{"type":23,"value":1385},{"type":17,"tag":890,"props":1609,"children":1611},{"id":1610},"productionstaging-servers",[1612],{"type":23,"value":1613},"Production/Staging Servers",{"type":17,"tag":327,"props":1615,"children":1616},{},[1617,1648],{"type":17,"tag":331,"props":1618,"children":1619},{},[1620,1622,1627,1629,1634,1636,1641,1643],{"type":23,"value":1621},"Update all host volume file permissions to match the ",{"type":17,"tag":47,"props":1623,"children":1625},{"className":1624},[],[1626],{"type":23,"value":580},{"type":23,"value":1628}," UID/GID (",{"type":17,"tag":47,"props":1630,"children":1632},{"className":1631},[],[1633],{"type":23,"value":603},{"type":23,"value":1635}," for Debian, ",{"type":17,"tag":47,"props":1637,"children":1639},{"className":1638},[],[1640],{"type":23,"value":611},{"type":23,"value":1642}," for Alpine) ",{"type":17,"tag":77,"props":1644,"children":1645},{"href":839},[1646],{"type":23,"value":1647},"Learn how to manage file permissions",{"type":17,"tag":331,"props":1649,"children":1650},{},[1651,1653,1660],{"type":23,"value":1652},"If you're running Docker Swarm with host volume mounts, we created a script that could potentially help (",{"type":17,"tag":77,"props":1654,"children":1657},{"href":1655,"rel":1656},"https://github.com/serversideup/docker-volume-change-permission-script",[81],[1658],{"type":23,"value":1659},"change-volume-permissions.sh",{"type":23,"value":1028},{"type":17,"tag":890,"props":1662,"children":1664},{"id":1663},"deployment",[1665],{"type":23,"value":1666},"Deployment",{"type":17,"tag":327,"props":1668,"children":1669},{},[1670,1675],{"type":17,"tag":331,"props":1671,"children":1672},{},[1673],{"type":23,"value":1674},"CI/CD with valid tests is always encouraged",{"type":17,"tag":331,"props":1676,"children":1677},{},[1678],{"type":23,"value":1679},"After completing all steps above, you're now ready to deploy the new images",{"type":17,"tag":1681,"props":1682,"children":1683},"style",{},[1684],{"type":23,"value":1685},"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 .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html.sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}",{"title":7,"searchDepth":125,"depth":125,"links":1687},[1688,1689,1690,1706],{"id":37,"depth":125,"text":40},{"id":317,"depth":125,"text":320},{"id":481,"depth":125,"text":484,"children":1691},[1692,1693,1695,1697,1698,1700,1702,1704,1705],{"id":493,"depth":138,"text":496},{"id":504,"depth":138,"text":1694},"ppa:ondrej/php is no longer used",{"id":545,"depth":138,"text":1696},"webuser is no longer being used",{"id":615,"depth":138,"text":618},{"id":664,"depth":138,"text":1699},"S6 Overlay is only used in *-fpm-apache and *-fpm-nginx images",{"id":710,"depth":138,"text":1701},"SSL_MODE is now set to off by default (HTTP only)",{"id":735,"depth":138,"text":1703},"AUTORUN_ENABLED is now set to false by default.",{"id":766,"depth":138,"text":769},{"id":777,"depth":138,"text":780},{"id":880,"depth":125,"text":883},"markdown","content:docs:3.guide:100.migrating-from-v2-to-v3.md","content","docs/3.guide/100.migrating-from-v2-to-v3.md","md",1727889428247]