CINXE.COM

Bug #1890263 “release upgrade does not move to the new php apach...” : Bionic (18.04) : Bugs : php-defaults package : Ubuntu

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <base href="https://bugs.launchpad.net/ubuntu/bionic/+source/php-defaults/+bug/1890263/+index" /> <meta charset="UTF-8" /> <title>Bug #1890263 “release upgrade does not move to the new php apach...” : Bionic (18.04) : Bugs : php-defaults package : Ubuntu</title> <link rel="apple-touch-icon" sizes="180x180" href="/@@/apple-touch-icon.png?v=2022" /> <link rel="icon" type="image/png" sizes="32x32" href="/@@/favicon-32x32.png?v=2022" /> <link rel="icon" type="image/png" sizes="16x16" href="/@@/favicon-16x16.png?v=2022" /> <link rel="manifest" href="/@@/site.webmanifest?v=2022" /> <link rel="mask-icon" href="/@@/safari-pinned-tab.svg?v=2022" color="#e9531f" /> <link rel="shortcut icon" href="/@@/favicon.ico?v=2022" /> <meta name="msapplication-TileColor" content="#da532c" /> <meta name="msapplication-config" content="/@@/browserconfig.xml?v=2022" /> <meta name="theme-color" content="#ffffff" /> <link rel="canonical" href="https://bugs.launchpad.net/bugs/1890263" /> <link rel="alternate" type="application/atom+xml" href="http://feeds.launchpad.net/bugs/1890263/bug.atom" title="Bug 1890263 Feed" /> <link type="text/css" rel="stylesheet" media="screen, print" href="/+icing/rev78860d903de6d6d7dd5a0ade63efaca45d3467e2/combo.css" /> <meta name="description" content="[Impact] Users who install libapache2-mod-php7.2 (as opposed to the virtual libapache2-mod-php package) and upgrade from bionic to focal will not be upgraded to libapache2-mod-php7.4 as expected, and depending on the way they upgrade may have modphp removed entirely, or left with modphp7.2 co-installed with php7.4 which may cause php code to display in the browser instead of executing the application (c.f. https://ubuntuforums.org/showthread.php?t=2393823). This upload provides dummy package..." /> <meta property="og:description" content="[Impact] Users who install libapache2-mod-php7.2 (as opposed to the virtual libapache2-mod-php package) and upgrade from bionic to focal will not be upgraded to libapache2-mod-php7.4 as expected, and depending on the way they upgrade may have modphp removed entirely, or left with modphp7.2 co-installed with php7.4 which may cause php code to display in the browser instead of executing the application (c.f. https://ubuntuforums.org/showthread.php?t=2393823). This upload provides dummy package..." /> <meta property="og:title" content="Bug #1890263 “release upgrade does not move to the new php apach...” : Bionic (18.04) : Bugs : php-defaults package : Ubuntu" /> <meta property="og:type" content="website" /> <meta property="og:image" content="/@@/launchpad-og-image.png" /> <meta property="og:url" content="https://bugs.launchpad.net/bugs/1890263" /> <meta property="og:site_name" content="Launchpad" /> <script type="text/javascript"> var LP = { cache: {}, links: {} }; </script> <script type="text/javascript">var cookie_scope = '; Path=/; Secure; Domain=.launchpad.net';</script> <script type="text/javascript" src="/+combo/rev78860d903de6d6d7dd5a0ade63efaca45d3467e2/?yui/yui/yui-min.js&amp;lp/meta.js&amp;yui/loader/loader-min.js"></script> <script type="text/javascript"> var raw = null; if (LP.devmode) { raw = 'raw'; } YUI.GlobalConfig = { combine: true, comboBase: '/+combo/rev78860d903de6d6d7dd5a0ade63efaca45d3467e2/?', root: 'yui/', filter: raw, debug: false, fetchCSS: false, maxURLLength: 2000, groups: { lp: { combine: true, base: '/+combo/rev78860d903de6d6d7dd5a0ade63efaca45d3467e2/?lp/', comboBase: '/+combo/rev78860d903de6d6d7dd5a0ade63efaca45d3467e2/?', root: 'lp/', // comes from including lp/meta.js modules: LP_MODULES, fetchCSS: false } } }</script> <script type="text/javascript"> // we need this to create a single YUI instance all events and code // talks across. All instances of YUI().use should be based off of // LPJS instead. var LPJS = new YUI(); </script> <script id="base-layout-load-scripts" type="text/javascript"> //<![CDATA[ LPJS.use('base', 'node', 'console', 'event', 'oop', 'lp', 'lp.app.foldables','lp.app.sorttable', 'lp.app.inlinehelp', 'lp.app.links', 'lp.bugs.bugtask_index', 'lp.bugs.subscribers', 'lp.app.ellipsis', 'lp.code.branchmergeproposal.diff', 'lp.views.global', function(Y) { Y.on("domready", function () { var global_view = new Y.lp.views.Global(); global_view.render(); Y.lp.app.sorttable.SortTable.init(); Y.lp.app.inlinehelp.init_help(); Y.lp.activate_collapsibles(); Y.lp.app.foldables.activate(); Y.lp.app.links.check_valid_lp_links(); }); Y.on('lp:context:web_link:changed', function(e) { window.location = e.new_value; }); }); //]]> </script> <script id="base-helper-functions" type="text/javascript"> //<![CDATA[ // This code is pulled from lp.js that needs to be available on every // request. Pulling here to get it outside the scope of the YUI block. function setFocusByName(name) { // Focus the first element matching the given name which can be focused. var nodes = document.getElementsByName(name); var i, node; for (i = 0; i < nodes.length; i++) { node = nodes[i]; if (node.focus) { try { // Trying to focus a hidden element throws an error in IE8. if (node.offsetHeight !== 0) { node.focus(); } } catch (e) { LPJS.use('console', function(Y) { Y.log('In setFocusByName(<' + node.tagName + ' type=' + node.type + '>): ' + e); }); } break; } } } function selectWidget(widget_name, event) { if (event && (event.keyCode === 9 || event.keyCode === 13)) { // Avoid firing if user is tabbing through or simply pressing // enter to submit the form. return; } document.getElementById(widget_name).checked = true; } //]]> </script> <script type="text/javascript" id="available-official-tags-js">var available_official_tags = ["a11y", "appstream", "bionic", "bisect-done", "bitesize", "block-proposed", "block-proposed-focal", "block-proposed-jammy", "block-proposed-noble", "block-proposed-oracular", "cherry-pick", "community-security", "desktop-file", "dist-upgrade", "fixed-upstream", "focal", "ftbfs", "hw-specific", "jammy", "kernel-bug", "manpage", "metabug", "multiarch", "multigpu", "multimonitor", "needs-bisect", "needs-design", "needs-packaging", "needs-reassignment", "noble", "nvidia", "oracular", "package-conflict", "packaging", "patch", "patch-accepted-debian", "patch-accepted-upstream", "patch-forwarded-debian", "patch-forwarded-upstream", "patch-needswork", "patch-rejected", "patch-rejected-debian", "patch-rejected-upstream", "performing-bisect", "plucky", "qt4-removal", "regression-proposed", "regression-release", "regression-update", "string-fix", "suspend-resume", "systemd-boot", "testcase", "unmetdeps", "update-excuse", "upgrade-software-version", "verification-done-bionic", "verification-done-focal", "verification-done-jammy", "verification-done-noble", "verification-done-oracular", "verification-failed-bionic", "verification-failed-jammy", "verification-needed-bionic", "verification-needed-focal", "verification-needed-jammy", "verification-needed-noble", "verification-needed-oracular", "wayland"];</script> <script type="text/javascript"> LPJS.use('base', 'node', 'oop', 'event', 'lp.bugs.bugtask_index', 'lp.bugs.subscribers', 'lp.code.branchmergeproposal.diff', 'lp.app.comment', 'lp.services.messages.edit', function(Y) { Y.on('domready', function() { Y.lp.code.branchmergeproposal.diff.connect_diff_links(); Y.lp.bugs.bugtask_index.setup_bugtask_index(); Y.lp.bugs.bugtask_index.setup_bugtask_table(); LP.cache.comment_context = LP.cache.bug; var cl = new Y.lp.app.comment.CommentList(); cl.render(); var sl = new Y.lp.bugs.subscribers.createBugSubscribersLoader({ container_box: '#other-bug-subscribers', subscribers_details_view: '/+bug-portlet-subscribers-details', subscribe_someone_else_link: '.menu-link-addsubscriber' }, window); Y.lp.services.messages.edit.setup(); }); }); </script> <style type="text/css"> /* Align the 'add comment' link to the right of the comment box. */ #add-comment-form textarea { width: 100%; } #add-comment-form { max-width: 60em; padding-bottom: 4em; } #add-comment-form .actions {float: right;} .buglink-summary dd { font-size: 10px; } a#privacy-link:link:hover, a#privacy-link:visited:hover {text-decoration:none;} </style> <style type="text/css"> .yui3-overlay .value label { /* It normally makes sense for form labels to be bold, but since this form consists only of radio buttons, there's nothing but labels so we just get wall-to-wall bold. */ font-weight: normal !important; } </style> </head> <body id="document" itemscope="" itemtype="http://schema.org/WebPage" class="tab-bugs main_side public yui3-skin-sam"> <div class="yui-d0"> <div id="locationbar" class="login-logout"> <div id="logincontrol"><a href="https://bugs.launchpad.net/ubuntu/bionic/+source/php-defaults/+bug/1890263/+login">Log in / Register</a></div> </div><!--id="locationbar"--> <div id="watermark" class="watermark-apps-portlet"> <div> <a href="https://launchpad.net/ubuntu"><img alt="" width="64" height="64" src="https://launchpadlibrarian.net/606381979/CoF%2064px.png" /></a> </div> <div class="wide"> <h2 id="watermark-heading"><a href="https://launchpad.net/ubuntu">Ubuntu</a><br /><a href="https://launchpad.net/ubuntu/+source/php-defaults">php-defaults package</a></h2> </div> <!-- Application Menu --> <ul class="facetmenu"> <li class="overview"><a href="https://launchpad.net/ubuntu/+source/php-defaults">Overview</a></li> <li class="branches"><a href="https://code.launchpad.net/ubuntu/+source/php-defaults">Code</a></li> <li class="bugs active"><a href="https://bugs.launchpad.net/ubuntu/+source/php-defaults">Bugs</a></li> <li class="specifications disabled-tab"><span>Blueprints</span></li> <li class="translations"><a href="https://translations.launchpad.net/ubuntu/+source/php-defaults">Translations</a></li> <li class="answers"><a href="https://answers.launchpad.net/ubuntu/+source/php-defaults">Answers</a></li> </ul> </div> <div class="yui-t4"> <div id="maincontent" class="yui-main"> <div class="yui-b" dir="ltr"> <div class="context-publication"> <h1 id="edit-title"> <span class="yui3-editable_text-text ellipsis" style="max-width: 95%;"> release upgrade does not move to the new php apache mod </span> </h1> <ol itemprop="breadcrumb" class="breadcrumbs"> <li> <a href="https://bugs.launchpad.net/ubuntu/bionic/+source/php-defaults">Bionic (18.04)</a> </li> <li> Bug #1890263 </li> </ol> <div id="registration" class="registering"> Bug #1890263 reported by <a href="https://launchpad.net/~paelzer" class="sprite person">Christian Ehrhardt</a> <time title="2020-08-04 09:45:11 UTC" datetime="2020-08-04T09:45:11.325140+00:00">on 2020-08-04</time> </div> </div> <div id="request-notifications"> </div> <div> <div id="bug-is-duplicate"> </div> <div style="float: right;"> <span><a href="/+help-bugs/bug-heat.html" target="help" class="sprite flame">12</a></span> </div> <div class="actions"> <span id="affectsmetoo" style="display: inline">This bug affects 1 person</span> </div> <table id="affected-software" class="listing"> <thead> <tr> <th colspan="2">Affects</th> <th>Status</th> <th>Importance</th> <th>Assigned to</th> <th>Milestone</th> </tr> </thead> <tbody> <tr id="tasksummary2824163"> <td> </td> <td> <span id="bugtarget-picker-tasksummary2824163"> <span class="yui3-activator-data-box"> <a class="sprite package-source" href="https://bugs.launchpad.net/ubuntu/+source/php-defaults" title="Latest release: 96ubuntu1, uploaded to main on 2025-01-21 18:23:10.776185+00:00 by Athos Ribeiro (athos-ribeiro), maintained by Ubuntu Developers (ubuntu-devel-discuss-lists)">php-defaults (Ubuntu)</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusINPROGRESS">In Progress</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2824163"> <span class="yui3-activator-data-box"> <a class="sprite person" href="https://launchpad.net/~bryce">Bryce Harrington</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> <tr class="highlight" id="tasksummary2824164"> <td> </td> <td style="padding: 0.3em 0em 0.3em 1.5em"> <span class="sprite milestone"></span> <a href="https://bugs.launchpad.net/ubuntu/bionic/+source/php-defaults">Bionic</a> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusINPROGRESS">In Progress</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2824164"> <span class="yui3-activator-data-box"> <a class="sprite person" href="https://launchpad.net/~bryce">Bryce Harrington</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> <tr id="tasksummary2824165"> <td> </td> <td style="padding: 0.3em 0em 0.3em 1.5em"> <span class="sprite milestone"></span> <a href="https://bugs.launchpad.net/ubuntu/focal/+source/php-defaults">Focal</a> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusINCOMPLETE">Incomplete</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2824165"> <span class="yui3-activator-data-box"> <a class="sprite person" href="https://launchpad.net/~bryce">Bryce Harrington</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> <tr id="tasksummary2824166"> <td> </td> <td style="padding: 0.3em 0em 0.3em 1.5em"> <span class="sprite milestone"></span> <a href="https://bugs.launchpad.net/ubuntu/impish/+source/php-defaults">Impish</a> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusFIXRELEASED">Fix Released</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2824166"> <span class="yui3-activator-data-box"> <a class="sprite person" href="https://launchpad.net/~bryce">Bryce Harrington</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> </td> </tr> <tr id="tasksummary2824167"> <td> </td> <td style="padding: 0.3em 0em 0.3em 1.5em"> <span class="sprite milestone"></span> <a href="https://bugs.launchpad.net/ubuntu/jammy/+source/php-defaults">Jammy</a> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusFIXRELEASED">Fix Released</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2824167"> <span class="yui3-activator-data-box"> <a class="sprite person" href="https://launchpad.net/~bryce">Bryce Harrington</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> <tr id="tasksummary2824158"> <td> </td> <td> <span id="bugtarget-picker-tasksummary2824158"> <span class="yui3-activator-data-box"> <a class="sprite package-source" href="https://bugs.launchpad.net/ubuntu/+source/php7.2" title="Latest release: 7.2.24-0ubuntu0.18.04.17, uploaded to main on 2023-02-24 01:49:08.335443+00:00 by Marc Deslauriers (mdeslaur), maintained by Ubuntu Developers (ubuntu-devel-discuss-lists)">php7.2 (Ubuntu)</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusINVALID">Invalid</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2824158"> <span class="yui3-activator-data-box"> Unassigned </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> <tr id="tasksummary2824159"> <td> </td> <td style="padding: 0.3em 0em 0.3em 1.5em"> <span class="sprite milestone"></span> <a href="https://bugs.launchpad.net/ubuntu/bionic/+source/php7.2">Bionic</a> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusNEW">New</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2824159"> <span class="yui3-activator-data-box"> <a class="sprite person" href="https://launchpad.net/~bryce">Bryce Harrington</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> <tr id="tasksummary2627140"> <td> </td> <td> <span id="bugtarget-picker-tasksummary2627140"> <span class="yui3-activator-data-box"> <a class="sprite package-source" href="https://bugs.launchpad.net/ubuntu/+source/php7.4" title="Latest release: 7.4.3-4ubuntu2.28, uploaded to main on 2024-12-13 14:34:10.533768+00:00 by Leonidas S. Barbosa (leosilvab), maintained by Ubuntu Developers (ubuntu-devel-discuss-lists)">php7.4 (Ubuntu)</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusINVALID">Invalid</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2627140"> <span class="yui3-activator-data-box"> Unassigned </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> <tr id="tasksummary2824149"> <td> </td> <td style="padding: 0.3em 0em 0.3em 1.5em"> <span class="sprite milestone"></span> <a href="https://bugs.launchpad.net/ubuntu/focal/+source/php7.4">Focal</a> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusWONTFIX">Won't Fix</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2824149"> <span class="yui3-activator-data-box"> <a class="sprite person" href="https://launchpad.net/~bryce">Bryce Harrington</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> <tr id="tasksummary2731492"> <td> </td> <td> <span id="bugtarget-picker-tasksummary2731492"> <span class="yui3-activator-data-box"> <a class="sprite package-source" href="https://bugs.launchpad.net/ubuntu/+source/php8.0" title="No current release for this source package in Ubuntu">php8.0 (Ubuntu)</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusINVALID">Invalid</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2731492"> <span class="yui3-activator-data-box"> Unassigned </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> <tr id="tasksummary2824153"> <td> </td> <td style="padding: 0.3em 0em 0.3em 1.5em"> <span class="sprite milestone"></span> <a href="https://bugs.launchpad.net/ubuntu/impish/+source/php8.0">Impish</a> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusFIXRELEASED">Fix Released</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2824153"> <span class="yui3-activator-data-box"> <a class="sprite person" href="https://launchpad.net/~bryce">Bryce Harrington</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> </td> </tr> <tr id="tasksummary2771763"> <td> </td> <td> <span id="bugtarget-picker-tasksummary2771763"> <span class="yui3-activator-data-box"> <a class="sprite package-source" href="https://bugs.launchpad.net/ubuntu/+source/php8.1" title="Latest release: 8.1.2-1ubuntu2.20, uploaded to main on 2024-12-05 15:18:12.807442+00:00 by Leonidas S. Barbosa (leosilvab), maintained by Ubuntu Developers (ubuntu-devel-discuss-lists)">php8.1 (Ubuntu)</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusFIXRELEASED">Fix Released</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2771763"> <span class="yui3-activator-data-box"> <a class="sprite person" href="https://launchpad.net/~bryce">Bryce Harrington</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> <tr id="tasksummary2824148"> <td> </td> <td style="padding: 0.3em 0em 0.3em 1.5em"> <span class="sprite milestone"></span> <a href="https://bugs.launchpad.net/ubuntu/jammy/+source/php8.1">Jammy</a> </td> <td style="width: 20%; vertical-align: middle"> <div class="status-content" style="width: 100%; float: left"> <span style="float: left" class="value statusFIXRELEASED">Fix Released</span> </div> </td> <td style="width: 15em; vertical-align: middle"> <div class="importance-content" style="width: 100%; float: left"> <span style="float: left" class="value importanceMEDIUM">Medium</span> </div> </td> <td style="width:20%; margin: 0; padding: 0; vertical-align: middle; padding-left: 0.5em"> <span id="assignee-picker-tasksummary2824148"> <span class="yui3-activator-data-box"> <a class="sprite person" href="https://launchpad.net/~bryce">Bryce Harrington</a> </span> <div class="yui3-activator-message-box yui3-activator-hidden"></div> </span> </td> <td style="width: 20%; vertical-align: middle"> <div class="milestone-content" style="width: 100%; float: left"> <a class="value" href=""></a> </div> </td> </tr> </tbody> </table> <div id="maincontentsub"> <div class="top-portlet"> <div itemprop="mainContentOfPage" class="report"> <div> <div class="lazr-multiline-edit" id="edit-description"> <div class="clearfix"> <h3>Bug Description</h3> </div> <div class="yui3-editable_text-text"><p>[Impact]<br /> Users who install libapache2-<wbr />mod-php7.<wbr />2 (as opposed to the<br /> virtual libapache2-mod-php package) and upgrade from bionic to focal<br /> will not be upgraded to libapache2-<wbr />mod-php7.<wbr />4 as expected, and depending<br /> on the way they upgrade may have modphp removed entirely, or left with modphp7.2 co-installed with php7.4 which may cause php code to display in the browser instead of executing the application (c.f. <a rel="nofollow" href="https://ubuntuforums.org/showthread.php?t=2393823">https:/<wbr />/ubuntuforums.<wbr />org/showthread.<wbr />php?t=2393823</a>).</p> <p>This upload provides dummy packages to enable libapache2-<wbr />mod-php7.<wbr />2 to<br /> be upgraded to libapache2-<wbr />mod-php7.<wbr />4 when upgrading from bionic to<br /> focal.</p> <p>(As an aside, although eoan is no longer supported, we could potentially<br /> have users upgrading from eoan to focal in order to get back to<br /> supportability. This upload also includes the necessary changes to<br /> upload them as well.)</p> <p>[Test Case]<br /> #######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#<br /> ### Bionic Test Case for BUGGY Behavior ###<br /> #######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#<br /> $ lxc launch ubuntu-daily:bionic lp1890263-<wbr />modphp-<wbr />buggy-bionic<br /> $ lxc shell lp1890263-<wbr />modphp-<wbr />buggy-bionic<br /> # apt-get update; apt-get -y full-upgrade<br /> # reboot<br /> $ lxc shell lp1890263-<wbr />modphp-<wbr />buggy-bionic<br /> # apt install -y libapache2-<wbr />mod-php7.<wbr />2<br /> &nbsp;&nbsp;The following NEW packages will be installed:<br /> &nbsp;&nbsp;&nbsp;&nbsp;apache2 ... libapache2-<wbr />mod-php7.<wbr />2 ... php7.2-common ...<br /> &nbsp;&nbsp;...<br /> # do-release-upgrade<br /> &nbsp;&nbsp;- Answer defaults for everything<br /> &nbsp;&nbsp;- Allow it to reboot when done, and log back in</p> <p># lsb_release -sc<br /> focal</p> <p># apt-cache policy libapache2-mod-php* | grep -B1 Installed:<br /> libapache2-mod-php:<br /> &nbsp;&nbsp;Installed: (none)<br /> --<br /> libapache2-<wbr />mod-php5:<br /> &nbsp;&nbsp;Installed: (none)<br /> --<br /> libapache2-<wbr />mod-php7.<wbr />2:<br /> &nbsp;&nbsp;Installed: (none)<br /> --<br /> libapache2-<wbr />mod-php7.<wbr />3:<br /> &nbsp;&nbsp;Installed: (none)<br /> --<br /> libapache2-<wbr />mod-php7.<wbr />4:<br /> &nbsp;&nbsp;Installed: (none)</p> <p># result=$(apt-cache policy libapache2-<wbr />mod-php7.<wbr />4 | grep Installed: | cut -d: -f2 | xargs)<br /> # [ &quot;${result}&quot; = &quot;(none)&quot; ] &amp;&amp; echo &quot;BUG DETECTED&quot;</p> <p># logout</p> <p>$ lxc stop lp1890263-<wbr />modphp-<wbr />buggy-bionic<br /> $ lxc delete lp1890263-<wbr />modphp-<wbr />buggy-bionic</p> <p>#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#<br /> ### Bionic Test Case for FIXED Behavior ###<br /> #######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#<br /> $ lxc launch ubuntu-daily:bionic lp1890263-<wbr />modphp-<wbr />fixed-bionic<br /> $ lxc shell lp1890263-<wbr />modphp-<wbr />fixed-bionic<br /> # apt-get update; apt-get -y full-upgrade<br /> # reboot<br /> $ lxc shell lp1890263-<wbr />modphp-<wbr />fixed-bionic<br /> # apt install -y libapache2-<wbr />mod-php7.<wbr />2<br /> &nbsp;&nbsp;The following NEW packages will be installed:<br /> &nbsp;&nbsp;&nbsp;&nbsp;apache2 ... libapache2-<wbr />mod-php7.<wbr />2 ... php7.2-common ...<br /> &nbsp;&nbsp;...<br /> # apt-add-repository -yus ppa:bryce/<wbr />php-fixed-<wbr />upgrade</p> <p># do-release-upgrade<br /> &nbsp;&nbsp;- Answer defaults for everything<br /> &nbsp;&nbsp;- Allow it to reboot when done, and log back in</p> <p>TODO: Verify fix<br /> # apt-cache policy libapache2-<wbr />mod-php7.<wbr />2 | grep -B1 Installed<br /> # apt-cache policy libapache2-<wbr />mod-php7.<wbr />4 | grep -B1 Installed<br /> # apt-cache policy libapache2-mod-php | grep -B1 Installed<br /> FIX [NOT] DETECTED</p> <p>$ lxc stop lp1890263-<wbr />modphp-<wbr />fixed-bionic<br /> $ lxc delete lp1890263-<wbr />modphp-<wbr />fixed-bionic</p> <p># [ $(lsb_release -sc) = &quot;bionic&quot; ] &amp;&amp; (echo -e &quot;\nProtocols h2 h2c http/1.1&quot; &gt;&gt; /etc/apache2/<wbr />apache2.<wbr />conf)</p> <p>(eoan-&gt;focal upgrades can be tested similarly, if desired.)</p> <p>[Where Problems Could Occur]</p> <p>Since the changes are confined to debian/control and debian/control.in,<br /> behavior changes will be limited to packaging and, in particular,<br /> package upgrade behavior. The current workaround for this problem -<br /> manually installing/<wbr />uninstalling via apt/dpkg - would still be effective<br /> workarounds if a regression was to show itself.</p> <p>There are a number of different paths to upgrading a distro from one<br /> release to another, and while several of these were tested in<br /> development of this fix, there could well be untested paths that may see<br /> a change of behavior. However, the most likely issue we expect to see<br /> is not a regression but rather that there is another corner case we<br /> missed that didn&#x27;t work before and remains unfixed even still. (Indeed,<br /> this bug is a corner case left unfixed from bigger fixes from the<br /> past...)</p> <p>[Other Info]</p> <p>A similar fix is already deployed to jammy which fixed this situation<br /> for focal-&gt;jammy and impish-&gt;jammy uploads.</p> <p>Also note that while Ubuntu itself recommends users install modphp via<br /> the libapache-mod-php virtual package, there is ample 3rd party<br /> tutorials that are instructing to install libapache-<wbr />mod-phpN.<wbr />M.</p> <p>[Original Report]</p> <p>While checking how things behave for <a href="/bugs/1890029" class="bug-link">bug 1890029</a> I might have found another aspect/version of <a href="/bugs/1865218" class="bug-link">bug 1865218</a>. But I&#x27;m not sure yet.</p> <p>Bryce was working on that and he probably has a better answer, so I&#x27;ll file a bug about what I&#x27;ve seen and assign it to him to share his thoughts.</p> <p>I tried to ways of a bionic-&gt;focal upgrade in otherwise clear bionic LXD containers.</p> <p>I did:<br /> 1. get a bionic container<br /> 2. apt install libapache2-<wbr />mod-php7.<wbr />2<br /> &nbsp;&nbsp;&nbsp;that will pull in apache as well and work</p> <p>3a) edited /etc/apt/<wbr />sources.<wbr />list from bionic -&gt; focal<br /> &nbsp;&nbsp;&nbsp;&nbsp;apt update<br /> &nbsp;&nbsp;&nbsp;&nbsp;apt dist-upgrade</p> <p>This one left me with libapache2-<wbr />mod-php7.<wbr />2 of Bionic still installed and no 7.4 of Focal to be seen.</p> <p>3b) I tried `do-release-upgrade -d` as some logic might be in there</p> <p>This was different, it removed libapache2-<wbr />mod-php7.<wbr />2 but didn&#x27;t bring in 7.4 as I&#x27;d have expected.<br /> Before:<br /> root@b-to-f2:~# dpkg -l | grep -e php -e apache2<br /> ii apache2 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server<br /> ii apache2-bin 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server (modules and other binary files)<br /> ii apache2-data 2.4.29-1ubuntu4.13 all Apache HTTP Server (common files)<br /> ii apache2-utils 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server (utility programs for web servers)<br /> ii libapache2-<wbr />mod-php7.<wbr />2 7.2.24-<wbr />0ubuntu0.<wbr />18.04.6 amd64 server-side, HTML-embedded scripting language (Apache 2 module)<br /> ii php-common 1:60ubuntu1 all Common files for PHP packages<br /> ii php7.2-cli 7.2.24-<wbr />0ubuntu0.<wbr />18.04.6 amd64 command-line interpreter for the PHP scripting language<br /> ii php7.2-common 7.2.24-<wbr />0ubuntu0.<wbr />18.04.6 amd64 documentation, examples and common module for PHP<br /> ii php7.2-json 7.2.24-<wbr />0ubuntu0.<wbr />18.04.6 amd64 JSON module for PHP<br /> ii php7.2-opcache 7.2.24-<wbr />0ubuntu0.<wbr />18.04.6 amd64 Zend OpCache module for PHP<br /> ii php7.2-readline 7.2.24-<wbr />0ubuntu0.<wbr />18.04.6 amd64</p> <p>After:<br /> root@b-to-f2:~# dpkg -l | grep -e php -e apache2<br /> ii apache2 2.4.41-4ubuntu3 amd64 Apache HTTP Server<br /> ii apache2-bin 2.4.41-4ubuntu3 amd64 Apache HTTP Server (modules and other binary files)<br /> ii apache2-data 2.4.41-4ubuntu3 all Apache HTTP Server (common files)<br /> ii apache2-utils 2.4.41-4ubuntu3 amd64 Apache HTTP Server (utility programs for web servers)<br /> ii php-common 2:75 all</p> <p>So mod-php is just gone :-/<br /> Please tell me that I miss a point here, or is this really the come-back of 1865218?</p></div> </div> </div> <div style="margin:-10px 0 20px 5px" class="clearfix"> <span>See <a href="comments/0">original description</a></span> </div> <div id="bug-tags"> <span id="tags-heading"> </span> <span id="tag-list"> </span> </div> <script type="text/javascript"> LPJS.use('event', 'node', 'lp.bugs.tags_entry', function(Y) { Y.on('domready', function(e) { Y.lp.bugs.tags_entry.setup_tag_entry( available_official_tags); }, window); }); </script> <div class="clearfix"></div> </div> <div id="branches-and-cves"> <div id="bug-branches-container" style="float: left"> <div id="bug-branches"> <h2>Related branches</h2> <div class="buglink-summary"> <a class="sprite branch" href="https://code.launchpad.net/~bryce/ubuntu/+source/php7.4/+git/php7.4/+ref/fix-lp1890263-focal">~bryce/ubuntu/+source/php7.4:fix-lp1890263-focal</a> <div class="reviews"> <div> <img src="/@@/merge-proposal-icon" /> <a href="https://code.launchpad.net/~bryce/ubuntu/+source/php7.4/+git/php7.4/+merge/421553" title="">Merged</a> into <a href="https://code.launchpad.net/~git-ubuntu-import/ubuntu/+source/php7.4/+git/php7.4/+ref/ubuntu/focal-devel">ubuntu/+source/php7.4:ubuntu/focal-devel</a> at <a href="https://git.launchpad.net/ubuntu/+source/php7.4/commit/?id=9798ca83186d9e86e01199c31dbe8bbed87c4ac6"> revision 9798ca83186d9e86e01199c31dbe8bbed87c4ac6 </a> </div> <dl class="reviews"> <dd> <a href="https://launchpad.net/~athos-ribeiro" class="sprite person">Athos Ribeiro</a> (community): <span class="voteAPPROVE">Approve</span> <time title="2022-05-09 14:41:57 UTC" datetime="2022-05-09T14:41:57.375249+00:00">on 2022-05-09</time> </dd> <dd id="review-canonical-server-packageset-reviewers"> <a href="https://launchpad.net/~canonical-server-packageset-reviewers" class="sprite team">Canonical Server packageset reviewers</a>: <span class="votePENDING">Pending</span> requested <time title="2022-05-05 19:17:44 UTC" datetime="2022-05-05T19:17:44.957513+00:00">2022-05-05</time> </dd> <dd id="review-canonical-server-motu-reviewers"> <a href="https://launchpad.net/~canonical-server-motu-reviewers" class="sprite team">Canonical Server MOTU reviewers</a>: <span class="votePENDING">Pending</span> requested <time title="2022-05-05 19:17:37 UTC" datetime="2022-05-05T19:17:37.457403+00:00">2022-05-05</time> </dd> <dd id="review-canonical-server-core-reviewers"> <a href="https://launchpad.net/~canonical-server-core-reviewers" class="sprite team">Canonical Server Core Reviewers</a>: <span class="votePENDING">Pending</span> requested <time title="2022-05-05 19:17:24 UTC" datetime="2022-05-05T19:17:24.022520+00:00">2022-05-05</time> </dd> <dd class="popup-diff mp-421553"> Diff: <a href="https://code.launchpad.net/~bryce/ubuntu/+source/php7.4/+git/php7.4/+merge/421553/+preview-diff/972787/+files/preview.diff" class="diff-link">108 lines (+60/-4)</a><div class="collapsible"><span>3 files modified</span><div>debian/changelog (+8/-0)<br/>debian/control (+26/-2)<br/>debian/control.in (+26/-2)</div></div> <a class="api-ref hidden" href="/~bryce/ubuntu/+source/php7.4/+git/php7.4/+merge/421553/+preview-diff/972787">api</a> </dd> </dl> </div> </div> <div class="buglink-summary"> <a class="sprite branch" href="https://code.launchpad.net/~bryce/ubuntu/+source/php8.1/+git/php8.1/+ref/fix-lp1890263-jammy">~bryce/ubuntu/+source/php8.1:fix-lp1890263-jammy</a> <div class="reviews"> <div> <img src="/@@/merge-proposal-icon" /> <a href="https://code.launchpad.net/~bryce/ubuntu/+source/php8.1/+git/php8.1/+merge/419245" title="">Merged</a> into <a href="https://code.launchpad.net/~git-ubuntu-import/ubuntu/+source/php8.1/+git/php8.1/+ref/ubuntu/devel">ubuntu/+source/php8.1:ubuntu/devel</a> at <a href="https://git.launchpad.net/ubuntu/+source/php8.1/commit/?id=131b045cd85901ba1c4fd68ca9242f680f34d820"> revision 131b045cd85901ba1c4fd68ca9242f680f34d820 </a> </div> <dl class="reviews"> <dd id="review-canonical-server"> <a href="https://launchpad.net/~canonical-server" class="bg-image" style="background-image: url(https://launchpadlibrarian.net/606387617/CoF%2014px.png)">Canonical Server</a>: <span class="votePENDING">Pending</span> requested <time title="2022-04-11 23:39:19 UTC" datetime="2022-04-11T23:39:19.748081+00:00">2022-04-11</time> </dd> <dd id="review-canonical-server-packageset-reviewers"> <a href="https://launchpad.net/~canonical-server-packageset-reviewers" class="sprite team">Canonical Server packageset reviewers</a>: <span class="votePENDING">Pending</span> requested <time title="2022-04-11 23:39:09 UTC" datetime="2022-04-11T23:39:09.176703+00:00">2022-04-11</time> </dd> <dd class="popup-diff mp-419245"> Diff: <a href="https://code.launchpad.net/~bryce/ubuntu/+source/php8.1/+git/php8.1/+merge/419245/+preview-diff/969581/+files/preview.diff" class="diff-link">139 lines (+75/-2)</a><div class="collapsible"><span>4 files modified</span><div>debian/changelog (+9/-0)<br/>debian/control (+32/-0)<br/>debian/control.in (+32/-0)<br/>debian/rules (+2/-2)</div></div> <a class="api-ref hidden" href="/~bryce/ubuntu/+source/php8.1/+git/php8.1/+merge/419245/+preview-diff/969581">api</a> </dd> </dl> </div> </div> </div> </div><!-- bug-branch-container --> <div class="clearfix"></div> </div> <!-- branches and CVEs --> </div> <div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/1" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~paelzer" class="sprite person">Christian Ehrhardt (paelzer)</a> wrote <time itemprop="commentTime" datetime="2020-08-04T09:47:14.564738+00:00" title="2020-08-04 09:47:14 UTC">on 2020-08-04</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/1"> #1</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>Note: I&#x27;ll leave the two containers as-is for now in case you want any logs in them to be checked.</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">Note: I'll leave the two containers as-is for now in case you want any logs in them to be checked.</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php7.4 (Ubuntu): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> nobody &#8594; Bryce Harrington (bryce) </td> </tr> </table> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/2" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> wrote <time itemprop="commentTime" datetime="2020-08-04T23:00:24+00:00" title="2020-08-04 23:00:24 UTC">on 2020-08-04</time><span class="editable-message-last-edit-date">: </span> <a href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/2"> <strong>Re: [Bug 1890263] Re: release upgrade does not move to the new php apache mod</strong> </a> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/2"> #2</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <a href="https://bugs.launchpad.net/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/2/+download">Download full text</a> (4.9 KiB) <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>Hmm. Yes, seems pretty straightforward to reproduce the problem in<br /> lxc. At the end of the upgrade it offers to remove mod php 7.2:</p> <p>Reading state information... Done</p> <p>Remove obsolete packages?</p> <p>69 packages are going to be removed.</p> <p>&nbsp;Continue [yN] Details [d]d</p> <p>Remove: libapache2-<wbr />mod-php7.<wbr />2</p> <p>Remove (was auto installed) acl acpid btrfs-tools<br /> &nbsp;&nbsp;command-<wbr />not-found-<wbr />data dns-root-data dnsmasq-base ebtables<br /> &nbsp;&nbsp;gcc-8-base geoip-database libbind9-160 libdns-export1100 libdns1100<br /> &nbsp;&nbsp;libevent-2.1-6 libffi6 libfreetype6 libgdbm5 libgeoip1 libhogweed4<br /> &nbsp;&nbsp;libicu60 libidn11 libip4tc0 libip6tc0 libiptc0 libirs160<br /> &nbsp;&nbsp;libisc-export169 libisc169 libisccc160 libisccfg160 libjson-c3<br /> &nbsp;&nbsp;liblvm2app2.2 liblvm2cmd2.02 liblwres160 liblxc-common liblxc1<br /> &nbsp;&nbsp;libncurses5 libncursesw5 libnettle6 libnih1 libntfs-3g88<br /> &nbsp;&nbsp;libperl5.26 libplymouth4 libprocps6 libpython3.6<br /> &nbsp;&nbsp;libpython3.<wbr />6-minimal libpython3.6-stdlib libreadline7 libssl1.0.0<br /> &nbsp;&nbsp;libtinfo5 lxcfs lxd lxd-client mlocate multiarch-support net-tools<br /> &nbsp;&nbsp;nplan perl-modules-5.26 php7.2-cli php7.2-common php7.2-json<br /> &nbsp;&nbsp;php7.2-opcache php7.2-readline python3-asn1crypto python3-pam<br /> &nbsp;&nbsp;python3.6 python3.6-minimal uidmap ureadahead xdelta3</p> <p>I wonder if there needs to be a dependency added for the<br /> libapache2-mod-php virtual package.</p> <p>On Tue, Aug 04, 2020 at 09:47:14AM -0000, Christian Ehrhardt  wrote:<br /> <span class="foldable-quoted"> &gt; Note: I&#x27;ll leave the two containers as-is for now in case you want any<br /> &gt; logs in them to be checked.<br /> &gt;<br /> &gt; --<br /> &gt; You received this bug notification because you are a bug assignee.<br /> &gt; <a rel="nofollow" href="https://bugs.launchpad.net/bugs/1890263">https:/<wbr />/bugs.launchpad<wbr />.net/bugs/<wbr />1890263</a><br /> &gt;<br /> &gt; Title:<br /> &gt; release upgrade does not move to the new php apache mod<br /> &gt;<br /> &gt; Status in php7.4 package in Ubuntu:<br /> &gt; New<br /> &gt;<br /> &gt; Bug description:<br /> &gt; While checking how things behave for <a href="/bugs/1890029" class="bug-link">bug 1890029</a> I might have found<br /> &gt; another aspect/version of <a href="/bugs/1865218" class="bug-link">bug 1865218</a>. But I&#x27;m not sure yet.<br /> &gt;<br /> &gt; Bryce was working on that and he probably has a better answer, so I&#x27;ll<br /> &gt; file a bug about what I&#x27;ve seen and assign it to him to share his<br /> &gt; thoughts.<br /> &gt;<br /> &gt; I tried to ways of a bionic-&gt;focal upgrade in otherwise clear bionic<br /> &gt; LXD containers.<br /> &gt;<br /> &gt; I did:<br /> &gt; 1. get a bionic container<br /> &gt; 2. apt install libapache2-<wbr />mod-php7.<wbr />2<br /> &gt; that will pull in apache as well and work<br /> &gt;<br /> &gt; 3a) edited /etc/apt/<wbr />sources.<wbr />list from bionic -&gt; focal<br /> &gt; apt update<br /> &gt; apt dist-upgrade<br /> &gt;<br /> &gt; This one left me with libapache2-<wbr />mod-php7.<wbr />2 of Bionic still installed<br /> &gt; and no 7.4 of Focal to be seen.<br /> &gt;<br /> &gt; 3b) I tried `do-release-upgrade -d` as some logic might be in there<br /> &gt;<br /> &gt; This was different, it removed libapache2-<wbr />mod-php7.<wbr />2 but didn&#x27;t bring in 7.4 as I&#x27;d have expected.<br /> &gt; Before:<br /> &gt; root@b-to-f2:~# dpkg -l | grep -e php -e apache2<br /> &gt; ii apache2 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server<br /> &gt; ii apache2-bin 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server (modules and other binary files)<br /> &gt; ii apache2-data 2.4.29-1ubuntu4.13 all Apache HTTP Server (common files)<br /> &gt; ii apache2-utils 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server (utility programs ... </span></p></div> <p> <a href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/2">Read more...</a> </p> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">Hmm. Yes, seems pretty straightforward to reproduce the problem in lxc. At the end of the upgrade it offers to remove mod php 7.2: Reading state information... Done Remove obsolete packages? 69 packages are going to be removed. Continue [yN] Details [d]d Remove: libapache2-mod-php7.2 Remove (was auto installed) acl acpid btrfs-tools command-not-found-data dns-root-data dnsmasq-base ebtables gcc-8-base geoip-database libbind9-160 libdns-export1100 libdns1100 libevent-2.1-6 libffi6 libfreetype6 libgdbm5 libgeoip1 libhogweed4 libicu60 libidn11 libip4tc0 libip6tc0 libiptc0 libirs160 libisc-export169 libisc169 libisccc160 libisccfg160 libjson-c3 liblvm2app2.2 liblvm2cmd2.02 liblwres160 liblxc-common liblxc1 libncurses5 libncursesw5 libnettle6 libnih1 libntfs-3g88 libperl5.26 libplymouth4 libprocps6 libpython3.6 libpython3.6-minimal libpython3.6-stdlib libreadline7 libssl1.0.0 libtinfo5 lxcfs lxd lxd-client mlocate multiarch-support net-tools nplan perl-modules-5.26 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline python3-asn1crypto python3-pam python3.6 python3.6-minimal uidmap ureadahead xdelta3 I wonder if there needs to be a dependency added for the libapache2-mod-php virtual package. On Tue, Aug 04, 2020 at 09:47:14AM -0000, Christian Ehrhardt  wrote: &gt; Note: I'll leave the two containers as-is for now in case you want any &gt; logs in them to be checked. &gt; &gt; -- &gt; You received this bug notification because you are a bug assignee. &gt; https://bugs.launchpad.net/bugs/1890263 &gt; &gt; Title: &gt; release upgrade does not move to the new php apache mod &gt; &gt; Status in php7.4 package in Ubuntu: &gt; New &gt; &gt; Bug description: &gt; While checking how things behave for bug 1890029 I might have found &gt; another aspect/version of bug 1865218. But I'm not sure yet. &gt; &gt; Bryce was working on that and he probably has a better answer, so I'll &gt; file a bug about what I've seen and assign it to him to share his &gt; thoughts. &gt; &gt; I tried to ways of a bionic-&gt;focal upgrade in otherwise clear bionic &gt; LXD containers. &gt; &gt; I did: &gt; 1. get a bionic container &gt; 2. apt install libapache2-mod-php7.2 &gt; that will pull in apache as well and work &gt; &gt; 3a) edited /etc/apt/sources.list from bionic -&gt; focal &gt; apt update &gt; apt dist-upgrade &gt; &gt; This one left me with libapache2-mod-php7.2 of Bionic still installed &gt; and no 7.4 of Focal to be seen. &gt; &gt; 3b) I tried `do-release-upgrade -d` as some logic might be in there &gt; &gt; This was different, it removed libapache2-mod-php7.2 but didn't bring in 7.4 as I'd have expected. &gt; Before: &gt; root@b-to-f2:~# dpkg -l | grep -e php -e apache2 &gt; ii apache2 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server &gt; ii apache2-bin 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server (modules and other binary files) &gt; ii apache2-data 2.4.29-1ubuntu4.13 all Apache HTTP Server (common files) &gt; ii apache2-utils 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server (utility programs for web servers) &gt; ii libapache2-mod-php7.2 7.2.24-0ubuntu0.18.04.6 amd64 server-side, HTML-embedded scripting language (Apache 2 module) &gt; ii php-common 1:60ubuntu1 all Common files for PHP packages &gt; ii php7.2-cli 7.2.24-0ubuntu0.18.04.6 amd64 command-line interpreter for the PHP scripting language &gt; ii php7.2-common 7.2.24-0ubuntu0.18.04.6 amd64 documentation, examples and common module for PHP &gt; ii php7.2-json 7.2.24-0ubuntu0.18.04.6 amd64 JSON module for PHP &gt; ii php7.2-opcache 7.2.24-0ubuntu0.18.04.6 amd64 Zend OpCache module for PHP &gt; ii php7.2-readline 7.2.24-0ubuntu0.18.04.6 amd64 &gt; &gt; After: &gt; root@b-to-f2:~# dpkg -l | grep -e php -e apache2 &gt; ii apache2 2.4.41-4ubuntu3 amd64 Apache HTTP Server &gt; ii apache2-bin 2.4.41-4ubuntu3 amd64 Apache HTTP Server (modules and other binary files) &gt; ii apache2-data 2.4.41-4ubuntu3 all Apache HTTP Server (common files) &gt; ii apache2-utils 2.4.41-4ubuntu3 amd64 Apache HTTP Server (utility programs for web servers) &gt; ii php-common 2:75 all &gt; &gt; &gt; So mod-php is just gone :-/ &gt; Please tell me that I miss a point here, or is this really the come-back of 1865218? &gt; &gt; To manage notifications about this bug go to: &gt; https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/1890263/+subscriptions </textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> </div> <div class="boardComment"> <div class="boardCommentDetails"> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> <time title="2021-10-20 15:59:56 UTC" datetime="2021-10-20T15:59:56.385512+00:00">on 2021-10-20</time> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td style="text-align: right;"> <b>tags</b>: </td> <td> added: server-todo </td> </tr> <tr> <td colspan="2">Changed in php8.0 (Ubuntu): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> nobody &#8594; Bryce Harrington (bryce) </td> </tr> <tr> <td colspan="2">Changed in php7.4 (Ubuntu): </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> <tr> <td colspan="2">Changed in php8.0 (Ubuntu): </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> <tr> <td colspan="2">Changed in php7.4 (Ubuntu): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Triaged </td> </tr> <tr> <td colspan="2">Changed in php8.0 (Ubuntu): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Triaged </td> </tr> </table> </div> </div> <div class="boardComment"> <div class="boardCommentDetails"> <a href="https://launchpad.net/~paelzer" class="sprite person">Christian Ehrhardt (paelzer)</a> <time title="2022-03-07 13:47:48 UTC" datetime="2022-03-07T13:47:48.390550+00:00">on 2022-03-07</time> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php8.1 (Ubuntu): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Triaged </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> </table> </div> </div> <div class="boardComment"> <div class="boardCommentDetails"> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> <time title="2022-03-24 18:56:31 UTC" datetime="2022-03-24T18:56:31.664665+00:00">on 2022-03-24</time> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php8.1 (Ubuntu): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> nobody &#8594; Bryce Harrington (bryce) </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Jammy): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> nobody &#8594; Bryce Harrington (bryce) </td> </tr> <tr> <td colspan="2">Changed in php7.2 (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Invalid </td> </tr> <tr> <td colspan="2">Changed in php7.2 (Ubuntu Impish): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Invalid </td> </tr> <tr> <td colspan="2">Changed in php7.2 (Ubuntu Jammy): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Invalid </td> </tr> <tr> <td colspan="2">Changed in php7.4 (Ubuntu Bionic): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Invalid </td> </tr> <tr> <td colspan="2">Changed in php7.4 (Ubuntu Impish): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Invalid </td> </tr> <tr> <td colspan="2">Changed in php7.4 (Ubuntu Jammy): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> Bryce Harrington (bryce) &#8594; nobody </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> Triaged &#8594; Invalid </td> </tr> <tr> <td colspan="2">Changed in php8.0 (Ubuntu Bionic): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Invalid </td> </tr> <tr> <td colspan="2">Changed in php8.0 (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Invalid </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php8.0 (Ubuntu Jammy) </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php7.2 (Ubuntu Focal) </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php7.2 (Ubuntu Impish) </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php7.2 (Ubuntu Jammy) </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php7.4 (Ubuntu Bionic) </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php8.0 (Ubuntu Bionic) </td> </tr> </table> </div> </div> <div class="boardComment"> <div class="boardCommentDetails"> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> <time title="2022-03-24 19:01:36 UTC" datetime="2022-03-24T19:01:36.558504+00:00">on 2022-03-24</time> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php7.4 (Ubuntu Impish) </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php7.4 (Ubuntu Jammy) </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php8.0 (Ubuntu Focal) </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php8.1 (Ubuntu Bionic) </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php8.1 (Ubuntu Focal) </td> </tr> <tr> <td style="text-align: right;"> <b>no longer affects</b>: </td> <td> php8.1 (Ubuntu Impish) </td> </tr> <tr> <td colspan="2">Changed in php7.2 (Ubuntu Bionic): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> nobody &#8594; Bryce Harrington (bryce) </td> </tr> <tr> <td colspan="2">Changed in php7.4 (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> nobody &#8594; Bryce Harrington (bryce) </td> </tr> <tr> <td colspan="2">Changed in php8.0 (Ubuntu Impish): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> nobody &#8594; Bryce Harrington (bryce) </td> </tr> <tr> <td colspan="2">Changed in php8.0 (Ubuntu): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> Bryce Harrington (bryce) &#8594; nobody </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> Triaged &#8594; Invalid </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Impish): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> nobody &#8594; Bryce Harrington (bryce) </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> nobody &#8594; Bryce Harrington (bryce) </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Bionic): </td> </tr> <tr> <td style="text-align: right;"> <b>assignee</b>: </td> <td> nobody &#8594; Bryce Harrington (bryce) </td> </tr> <tr> <td colspan="2">Changed in php8.0 (Ubuntu Impish): </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> <tr> <td colspan="2">Changed in php7.4 (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> <tr> <td colspan="2">Changed in php7.2 (Ubuntu Bionic): </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> <tr> <td colspan="2">Changed in php7.2 (Ubuntu): </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Jammy): </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Impish): </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Bionic): </td> </tr> <tr> <td style="text-align: right;"> <b>importance</b>: </td> <td> Undecided &#8594; Medium </td> </tr> </table> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/3" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> wrote <time itemprop="commentTime" datetime="2022-03-30T23:08:32.064363+00:00" title="2022-03-30 23:08:32 UTC">on 2022-03-30</time><span class="editable-message-last-edit-date"> <a href="#" class="editable-message-last-edit-link">(last edit <time itemprop="editTime" datetime="2022-03-31T00:33:52.897240+00:00" title="2022-03-31 00:33:52 UTC">on 2022-03-31</time>)</a>: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/3"> #3</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>There seem to be two different ways of installing modphp:</p> <p>&nbsp;&nbsp;1. sudo apt-get install libapache2-mod-php<br /> or<br /> &nbsp;&nbsp;2. sudo apt-get install libapache2-<wbr />mod-php7.<wbr />2</p> <p>libapache2-mod-php is a virtual package that depends on the appropriate libapache2-<wbr />mod-phpN.<wbr />M for that Ubuntu release; presumably if one had installed libapache2-mod-php the upgrade should work seamlessly. However, if one rather installed libapache2-<wbr />mod-php7.<wbr />2, then I think this is where the bug presents itself.</p> <p>Furthermore, there&#x27;s multiple upgrade methods to consider:</p> <p>&nbsp;&nbsp;A. Running `do-release-upgrade -d`<br /> &nbsp;&nbsp;B. Editing /etc/apt/<wbr />sources.<wbr />list from bionic -&gt; focal (or focal -&gt; jammy, or impish -&gt; jammy)<br /> &nbsp;&nbsp;C. Upgrading just modphp itself via a PPA</p> <p>Method C is presumably how most users would be experiencing this, so the main one needing fixed, but it&#x27;s also the most time-intensive to test. #2 is easier to test and still conceivably used by some experienced users, so is worth getting right. #3 is easiest to test but pretty artificial (though php users are accustomed to upgrading php via ondrej&#x27;s ppa).</p> <p>We see that in each of these cases, libapache2-<wbr />mod-php7.<wbr />2 might be left in place, or removed as cleanup.</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">There seem to be two different ways of installing modphp: 1. sudo apt-get install libapache2-mod-php or 2. sudo apt-get install libapache2-mod-php7.2 libapache2-mod-php is a virtual package that depends on the appropriate libapache2-mod-phpN.M for that Ubuntu release; presumably if one had installed libapache2-mod-php the upgrade should work seamlessly. However, if one rather installed libapache2-mod-php7.2, then I think this is where the bug presents itself. Furthermore, there's multiple upgrade methods to consider: A. Running `do-release-upgrade -d` B. Editing /etc/apt/sources.list from bionic -&gt; focal (or focal -&gt; jammy, or impish -&gt; jammy) C. Upgrading just modphp itself via a PPA Method C is presumably how most users would be experiencing this, so the main one needing fixed, but it's also the most time-intensive to test. #2 is easier to test and still conceivably used by some experienced users, so is worth getting right. #3 is easiest to test but pretty artificial (though php users are accustomed to upgrading php via ondrej's ppa). We see that in each of these cases, libapache2-mod-php7.2 might be left in place, or removed as cleanup.</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/4" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> wrote <time itemprop="commentTime" datetime="2022-03-31T01:33:11.503973+00:00" title="2022-03-31 01:33:11 UTC">on 2022-03-31</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/4"> #4</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>For testing method C, I&#x27;ve backported all the relevant PHP pieces to this PPA:</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" href="https://launchpad.net/~bryce/+archive/ubuntu/modphp-upgrade-lp1890263-unfixed-backports">https:/<wbr />/launchpad.<wbr />net/~bryce/<wbr />+archive/<wbr />ubuntu/<wbr />modphp-<wbr />upgrade-<wbr />lp1890263-<wbr />unfixed-<wbr />backports</a></p> <p>(C.1) Considering only bionic, installation style 1 works as expected:</p> <p>$ sudo apt-get install libapache2-mod-php<br /> The following NEW packages will be installed:<br /> &nbsp;&nbsp;apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-<wbr />mod-php7.<wbr />2 libaprutil1-<wbr />dbd-sqlite3<br /> &nbsp;&nbsp;libaprutil1-ldap liblua5.2-0 libsodium23 php-common php7.2-cli php7.2-common php7.2-json php7.2-opcache<br /> &nbsp;&nbsp;php7.2-readline ssl-cert<br /> 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.</p> <p>$ sudo add-apt-repository -yus ppa:bryce/<wbr />modphp-<wbr />upgrade-<wbr />lp1890263-<wbr />unfixed-<wbr />backports<br /> ...</p> <p>$ sudo apt-get full-upgrade<br /> The following packages were automatically installed and are no longer required:<br /> &nbsp;&nbsp;php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline<br /> Use &#x27;sudo apt autoremove&#x27; to remove them.<br /> The following packages will be REMOVED:<br /> &nbsp;&nbsp;libapache2-<wbr />mod-php7.<wbr />2<br /> The following NEW packages will be installed:<br /> &nbsp;&nbsp;libapache2-<wbr />mod-php7.<wbr />4 libpcre2-8-0 php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline<br /> The following packages will be upgraded:<br /> &nbsp;&nbsp;libapache2-<wbr />mod-php php-common</p> <p>Notably, this successfully moved from the old modphp to the new one, but did not uninstall other php7.2 binary packages. The system ended with both php7.2 and php7.4, but only with libapache2-<wbr />mod-php7.<wbr />4. I think this is what we want.</p> <p>To verify, I also purged all of the aforementioned packages, and re-installed libapache2-mod-php with the backport PPA still enabled. As expected and as desired, it directly installs libapache2-<wbr />mod-php7.<wbr />4 (7.4.3-<wbr />4ubuntu2.<wbr />11~bionic1)<wbr />.</p> <p>(C.2) Next, in a clean new bionic container fully up to date, I installed the versioned modphp:</p> <p>$ sudo apt-get install libapache2-<wbr />mod-php7.<wbr />2<br /> The following NEW packages will be installed:<br /> &nbsp;&nbsp;apache2 apache2-bin apache2-data apache2-utils libapache2-<wbr />mod-php7.<wbr />2 libaprutil1-<wbr />dbd-sqlite3 libaprutil1-ldap<br /> &nbsp;&nbsp;liblua5.2-0 libsodium23 php-common php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline ssl-cert<br /> 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.</p> <p>Notice that one fewer package is installed in this situation, namely the virtual package libapache2-mod-php. (This fact will cause problems later.)</p> <p>$ sudo add-apt-repository -yus ppa:bryce/<wbr />modphp-<wbr />upgrade-<wbr />lp1890263-<wbr />unfixed-<wbr />backports<br /> ...</p> <p>$ sudo apt-get full-upgrade<br /> The following packages will be upgraded:<br /> &nbsp;&nbsp;php-common<br /> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.</p> <p>So in upgrading with the PPA enabled, php-common gets upgraded but this does not trigger any php components to upgrade, so we&#x27;re left with php7.2 and the old modphp.</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">For testing method C, I've backported all the relevant PHP pieces to this PPA: https://launchpad.net/~bryce/+archive/ubuntu/modphp-upgrade-lp1890263-unfixed-backports (C.1) Considering only bionic, installation style 1 works as expected: $ sudo apt-get install libapache2-mod-php The following NEW packages will be installed: apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-mod-php7.2 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 libsodium23 php-common php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline ssl-cert 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. $ sudo add-apt-repository -yus ppa:bryce/modphp-upgrade-lp1890263-unfixed-backports ... $ sudo apt-get full-upgrade The following packages were automatically installed and are no longer required: php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: libapache2-mod-php7.2 The following NEW packages will be installed: libapache2-mod-php7.4 libpcre2-8-0 php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline The following packages will be upgraded: libapache2-mod-php php-common Notably, this successfully moved from the old modphp to the new one, but did not uninstall other php7.2 binary packages. The system ended with both php7.2 and php7.4, but only with libapache2-mod-php7.4. I think this is what we want. To verify, I also purged all of the aforementioned packages, and re-installed libapache2-mod-php with the backport PPA still enabled. As expected and as desired, it directly installs libapache2-mod-php7.4 (7.4.3-4ubuntu2.11~bionic1). (C.2) Next, in a clean new bionic container fully up to date, I installed the versioned modphp: $ sudo apt-get install libapache2-mod-php7.2 The following NEW packages will be installed: apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php7.2 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 libsodium23 php-common php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline ssl-cert 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. Notice that one fewer package is installed in this situation, namely the virtual package libapache2-mod-php. (This fact will cause problems later.) $ sudo add-apt-repository -yus ppa:bryce/modphp-upgrade-lp1890263-unfixed-backports ... $ sudo apt-get full-upgrade The following packages will be upgraded: php-common 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. So in upgrading with the PPA enabled, php-common gets upgraded but this does not trigger any php components to upgrade, so we're left with php7.2 and the old modphp. </textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/5" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> wrote <time itemprop="commentTime" datetime="2022-03-31T01:35:46.186322+00:00" title="2022-03-31 01:35:46 UTC">on 2022-03-31</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/5"> #5</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>Here we should note that some pieces come from phpM.N, others from php-common:</p> <p>$ pkg-source php-common<br /> php-defaults</p> <p>$ pkg-source libapache2-mod-php<br /> php-defaults</p> <p>$ pkg-source libapache2-<wbr />mod-php7.<wbr />2<br /> php7.2</p> <p>$ pkg-source libapache2-<wbr />mod-php7.<wbr />4<br /> php7.4</p> <p>$ pkg-source libapache2-<wbr />mod-php8.<wbr />0<br /> php8.0</p> <p>$ pkg-source libapache2-<wbr />mod-php8.<wbr />1<br /> php8.1</p> <p>So, the fix for this issue will require updates to php-defaults on each release, and updates to the phpM.N package specific to each release.</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">Here we should note that some pieces come from phpM.N, others from php-common: $ pkg-source php-common php-defaults $ pkg-source libapache2-mod-php php-defaults $ pkg-source libapache2-mod-php7.2 php7.2 $ pkg-source libapache2-mod-php7.4 php7.4 $ pkg-source libapache2-mod-php8.0 php8.0 $ pkg-source libapache2-mod-php8.1 php8.1 So, the fix for this issue will require updates to php-defaults on each release, and updates to the phpM.N package specific to each release. </textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/6" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> wrote <time itemprop="commentTime" datetime="2022-03-31T01:38:08.444101+00:00" title="2022-03-31 01:38:08 UTC">on 2022-03-31</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/6"> #6</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>Earlier I had speculated:</p> <p><span class="foldable-quoted">&gt; I wonder if there needs to be a dependency added for the<br /> &gt; libapache2-mod-php virtual package. </span></p> <p>However I don&#x27;t think this will work as a solution, because already we have libapache2-mod-php depending on libapache2-<wbr />mod-phpM.<wbr />N, so adding a dependency in the opposite direction as well, would cause circular dependence.</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">Earlier I had speculated: &gt; I wonder if there needs to be a dependency added for the &gt; libapache2-mod-php virtual package. However I don't think this will work as a solution, because already we have libapache2-mod-php depending on libapache2-mod-phpM.N, so adding a dependency in the opposite direction as well, would cause circular dependence.</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> </div> <div class="boardComment"> <div class="boardCommentDetails"> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> <time title="2022-04-12 19:46:58 UTC" datetime="2022-04-12T19:46:58.105533+00:00">on 2022-04-12</time> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Jammy): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; In Progress </td> </tr> <tr> <td colspan="2">Changed in php8.1 (Ubuntu Jammy): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> Triaged &#8594; In Progress </td> </tr> </table> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/7" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~janitor" class="sprite person-inactive">Launchpad Janitor (janitor)</a> wrote <time itemprop="commentTime" datetime="2022-04-15T17:18:19.032154+00:00" title="2022-04-15 17:18:19 UTC">on 2022-04-15</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/7"> #7</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>This bug was fixed in the package php8.1 - 8.1.2-1ubuntu2</p> <p>---------------<br /> php8.1 (8.1.2-1ubuntu2) jammy; urgency=medium</p> <p>&nbsp;&nbsp;* d/control: Add transitional packages and Breaks/Replaces to force<br /> &nbsp;&nbsp;&nbsp;&nbsp;upgrade from earlier mod-php&#x27;s to version 8.1.<br /> &nbsp;&nbsp;&nbsp;&nbsp;(LP: <a href="/bugs/1890263" class="bug-link">#1890263</a>)<br /> &nbsp;&nbsp;* d/rules: Don&#x27;t fill up build log with pedantic warnings.</p> <p>&nbsp;-- Bryce Harrington &lt;email address hidden&gt; Thu, 07 Apr 2022 17:46:26 +0000</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">This bug was fixed in the package php8.1 - 8.1.2-1ubuntu2 --------------- php8.1 (8.1.2-1ubuntu2) jammy; urgency=medium * d/control: Add transitional packages and Breaks/Replaces to force upgrade from earlier mod-php's to version 8.1. (LP: #1890263) * d/rules: Don't fill up build log with pedantic warnings. -- Bryce Harrington &lt;bryce@canonical.com&gt; Thu, 07 Apr 2022 17:46:26 +0000</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php8.1 (Ubuntu Jammy): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> In Progress &#8594; Fix Released </td> </tr> </table> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/8" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> wrote <time itemprop="commentTime" datetime="2022-04-29T19:20:11.708038+00:00" title="2022-04-29 19:20:11 UTC">on 2022-04-29</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/8"> #8</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>I verified that the fix uploaded for jammy that&#x27;s now available in the release, does indeed resolve the issue for impish:</p> <p>#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#<br /> ### Impish Test Case for BUGGY Behavior ###<br /> #######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#<br /> $ lxc launch ubuntu-daily:impish lp1890263-<wbr />modphp-<wbr />buggy-impish<br /> $ lxc shell lp1890263-<wbr />modphp-<wbr />buggy-impish<br /> # apt-get update; apt-get -y full-upgrade; apt-get -y autoremove<br /> # reboot<br /> $ lxc shell lp1890263-<wbr />modphp-<wbr />buggy-impish<br /> # apt install -y libapache2-<wbr />mod-php8.<wbr />0<br /> &nbsp;&nbsp;The following NEW packages will be installed:<br /> &nbsp;&nbsp;&nbsp;&nbsp;apache2 ... libapache2-<wbr />mod-php8.<wbr />0 ... php8.0-common ...<br /> &nbsp;&nbsp;...<br /> # do-release-upgrade<br /> &nbsp;&nbsp;- Answer defaults for everything<br /> &nbsp;&nbsp;- Allow it to reboot when done, and log back in</p> <p># lsb_release -sc<br /> jammy</p> <p># apt-cache policy libapache2-mod-php* | grep -B1 Installed:<br /> libapache2-mod-php:<br /> &nbsp;&nbsp;Installed: 2:8.1+92ubuntu1<br /> --<br /> libapache2-<wbr />mod-php7.<wbr />4:<br /> &nbsp;&nbsp;Installed: (none)<br /> --<br /> libapache2-<wbr />mod-php8.<wbr />0:<br /> &nbsp;&nbsp;Installed: 8.1.2-1ubuntu2<br /> --<br /> libapache2-<wbr />mod-php8.<wbr />1:<br /> &nbsp;&nbsp;Installed: 8.1.2-1ubuntu2<br /> --<br /> libapache2-<wbr />mod-php5:<br /> &nbsp;&nbsp;Installed: (none)</p> <p># result=$(apt-cache policy libapache2-<wbr />mod-php8.<wbr />1 | grep Installed: | cut -d: -f2 | xargs)<br /> # [ &quot;${result}&quot; = &quot;(none)&quot; ] &amp;&amp; echo &quot;BUG DETECTED&quot;</p> <p># logout</p> <p>$ lxc stop lp1890263-<wbr />modphp-<wbr />buggy-impish<br /> $ lxc delete lp1890263-<wbr />modphp-<wbr />buggy-impish</p> <p>Due to this, we can close out the impish tasks for this bug, as solved.</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">I verified that the fix uploaded for jammy that's now available in the release, does indeed resolve the issue for impish: ########################################### ### Impish Test Case for BUGGY Behavior ### ########################################### $ lxc launch ubuntu-daily:impish lp1890263-modphp-buggy-impish $ lxc shell lp1890263-modphp-buggy-impish # apt-get update; apt-get -y full-upgrade; apt-get -y autoremove # reboot $ lxc shell lp1890263-modphp-buggy-impish # apt install -y libapache2-mod-php8.0 The following NEW packages will be installed: apache2 ... libapache2-mod-php8.0 ... php8.0-common ... ... # do-release-upgrade - Answer defaults for everything - Allow it to reboot when done, and log back in # lsb_release -sc jammy # apt-cache policy libapache2-mod-php* | grep -B1 Installed: libapache2-mod-php: Installed: 2:8.1+92ubuntu1 -- libapache2-mod-php7.4: Installed: (none) -- libapache2-mod-php8.0: Installed: 8.1.2-1ubuntu2 -- libapache2-mod-php8.1: Installed: 8.1.2-1ubuntu2 -- libapache2-mod-php5: Installed: (none) # result=$(apt-cache policy libapache2-mod-php8.1 | grep Installed: | cut -d: -f2 | xargs) # [ "${result}" = "(none)" ] &amp;&amp; echo "BUG DETECTED" # logout $ lxc stop lp1890263-modphp-buggy-impish $ lxc delete lp1890263-modphp-buggy-impish Due to this, we can close out the impish tasks for this bug, as solved. </textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Jammy): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> In Progress &#8594; Fix Released </td> </tr> <tr> <td colspan="2">Changed in php8.0 (Ubuntu Impish): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Fix Released </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Impish): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Fix Released </td> </tr> </table> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/9" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> wrote <time itemprop="commentTime" datetime="2022-04-29T20:17:44.128569+00:00" title="2022-04-29 20:17:44 UTC">on 2022-04-29</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/9"> #9</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>Similarly, the focal -&gt; jammy upgrade process is also confirmed as fixed now, with the jammy update:</p> <p>#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#<br /> ### Focal Test Case for BUGGY Behavior ###<br /> #######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#######<wbr />#<br /> $ lxc launch ubuntu-daily:focal lp1890263-<wbr />modphp-<wbr />buggy-focal<br /> $ lxc shell lp1890263-<wbr />modphp-<wbr />buggy-focal<br /> # apt-get update; apt-get -y full-upgrade; apt-get -y autoremove<br /> # reboot<br /> $ lxc shell lp1890263-<wbr />modphp-<wbr />buggy-focal<br /> # apt install -y libapache2-<wbr />mod-php7.<wbr />4<br /> &nbsp;&nbsp;The following NEW packages will be installed:<br /> &nbsp;&nbsp;&nbsp;&nbsp;apache2 ... libapache2-<wbr />mod-php7.<wbr />4 ... php7.4-common ...<br /> &nbsp;&nbsp;...<br /> # do-release-upgrade -d<br /> &nbsp;&nbsp;- Answer defaults for everything<br /> &nbsp;&nbsp;- Allow it to reboot when done, and log back in<br /> $ lxc shell lp1890263-<wbr />modphp-<wbr />buggy-focal</p> <p># lsb_release -sc<br /> jammy</p> <p># apt-cache policy libapache2-mod-php* | grep -B1 Installed:<br /> libapache2-mod-php:<br /> &nbsp;&nbsp;Installed: 2:8.1+92ubuntu1<br /> --<br /> libapache2-<wbr />mod-php7.<wbr />4:<br /> &nbsp;&nbsp;Installed: 8.1.2-1ubuntu2<br /> --<br /> libapache2-<wbr />mod-php8.<wbr />0:<br /> &nbsp;&nbsp;Installed: (none)<br /> --<br /> libapache2-<wbr />mod-php8.<wbr />1:<br /> &nbsp;&nbsp;Installed: 8.1.2-1ubuntu2<br /> --<br /> libapache2-<wbr />mod-php5:<br /> &nbsp;&nbsp;Installed: (none)</p> <p># result=$(apt-cache policy libapache2-<wbr />mod-php8.<wbr />1 | grep Installed: | cut -d: -f2 | xargs)<br /> # [ &quot;${result}&quot; = &quot;(none)&quot; ] &amp;&amp; echo &quot;BUG DETECTED&quot;</p> <p># logout</p> <p>$ lxc stop lp1890263-<wbr />modphp-<wbr />buggy-focal<br /> $ lxc delete lp1890263-<wbr />modphp-<wbr />buggy-focal</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">Similarly, the focal -&gt; jammy upgrade process is also confirmed as fixed now, with the jammy update: ########################################### ### Focal Test Case for BUGGY Behavior ### ########################################### $ lxc launch ubuntu-daily:focal lp1890263-modphp-buggy-focal $ lxc shell lp1890263-modphp-buggy-focal # apt-get update; apt-get -y full-upgrade; apt-get -y autoremove # reboot $ lxc shell lp1890263-modphp-buggy-focal # apt install -y libapache2-mod-php7.4 The following NEW packages will be installed: apache2 ... libapache2-mod-php7.4 ... php7.4-common ... ... # do-release-upgrade -d - Answer defaults for everything - Allow it to reboot when done, and log back in $ lxc shell lp1890263-modphp-buggy-focal # lsb_release -sc jammy # apt-cache policy libapache2-mod-php* | grep -B1 Installed: libapache2-mod-php: Installed: 2:8.1+92ubuntu1 -- libapache2-mod-php7.4: Installed: 8.1.2-1ubuntu2 -- libapache2-mod-php8.0: Installed: (none) -- libapache2-mod-php8.1: Installed: 8.1.2-1ubuntu2 -- libapache2-mod-php5: Installed: (none) # result=$(apt-cache policy libapache2-mod-php8.1 | grep Installed: | cut -d: -f2 | xargs) # [ "${result}" = "(none)" ] &amp;&amp; echo "BUG DETECTED" # logout $ lxc stop lp1890263-modphp-buggy-focal $ lxc delete lp1890263-modphp-buggy-focal </textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php7.4 (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Fix Released </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; Fix Released </td> </tr> </table> </div> </div> <div class="boardComment"> <div class="boardCommentDetails"> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> <time title="2022-05-05 02:32:02 UTC" datetime="2022-05-05T02:32:02.155352+00:00">on 2022-05-05</time> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td style="text-align: right;"> <b>description</b>: </td> <td> updated </td> </tr> </table> </div> </div> <div class="boardComment"> <div class="boardCommentDetails"> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> <time title="2022-05-05 19:11:16 UTC" datetime="2022-05-05T19:11:16.802979+00:00">on 2022-05-05</time> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Bionic): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> New &#8594; In Progress </td> </tr> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> Fix Released &#8594; In Progress </td> </tr> <tr> <td colspan="2">Changed in php7.4 (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> Fix Released &#8594; In Progress </td> </tr> </table> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/10" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~racb" class="sprite person">Robie Basak (racb)</a> wrote <time itemprop="commentTime" datetime="2022-05-18T12:36:01.607496+00:00" title="2022-05-18 12:36:01 UTC">on 2022-05-18</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/10"> #10</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>Good job finding a solution that works!</p> <p>What&#x27;s the status on Debian accepting something like this?</p> <p>This also seems like a pattern that would be useful elsewhere. Is it already an established pattern?</p> <p>I&#x27;m reluctant to take this for an SRU without having confidence that we won&#x27;t end up iterating on it in our stable releases. It feels like it should be well established and socialized first to flush out any issues, and seems odd to me that I&#x27;ve not seen this pattern used before given its wide applicability.</p> <p>If it&#x27;s a correct and good solution then I&#x27;d expect to be familiar with it. If it&#x27;s new ground then maybe we should get general acceptance across the archive and in Debian for this pattern before SRUing it.</p> <p>What am I missing?</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">Good job finding a solution that works! What's the status on Debian accepting something like this? This also seems like a pattern that would be useful elsewhere. Is it already an established pattern? I'm reluctant to take this for an SRU without having confidence that we won't end up iterating on it in our stable releases. It feels like it should be well established and socialized first to flush out any issues, and seems odd to me that I've not seen this pattern used before given its wide applicability. If it's a correct and good solution then I'd expect to be familiar with it. If it's new ground then maybe we should get general acceptance across the archive and in Debian for this pattern before SRUing it. What am I missing?</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/11" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~racb" class="sprite person">Robie Basak (racb)</a> wrote <time itemprop="commentTime" datetime="2022-05-25T16:45:31.737245+00:00" title="2022-05-25 16:45:31 UTC">on 2022-05-25</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/11"> #11</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>I discussed this with other members of the SRU team last week. My notes:</p> <p>&quot;...that would be a maintenance action being fixed in an SRU, and may pull the rug from under users’ feet by forcibly upgrading them after it has been working on Focal for years. The security implications should be dealt with separately.&quot;</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">I discussed this with other members of the SRU team last week. My notes: "...that would be a maintenance action being fixed in an SRU, and may pull the rug from under users’ feet by forcibly upgrading them after it has been working on Focal for years. The security implications should be dealt with separately."</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/12" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~racb" class="sprite person">Robie Basak (racb)</a> wrote <time itemprop="commentTime" datetime="2022-05-25T16:46:05.260400+00:00" title="2022-05-25 16:46:05 UTC">on 2022-05-25</time><span class="editable-message-last-edit-date">: </span> <a href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/12"> <strong>Proposed package upload rejected</strong> </a> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/12"> #12</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>An upload of php7.4 to focal-proposed has been rejected from the upload queue for the following reason: &quot;See previous comment&quot;.</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">An upload of php7.4 to focal-proposed has been rejected from the upload queue for the following reason: "See previous comment".</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php7.4 (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> In Progress &#8594; Won&#x27;t Fix </td> </tr> </table> </div> </div> <div class="boardComment"> <div class="boardCommentDetails"> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> <time title="2022-06-02 07:31:33 UTC" datetime="2022-06-02T07:31:33.273543+00:00">on 2022-06-02</time> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td style="text-align: right;"> <b>description</b>: </td> <td> updated </td> </tr> </table> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/13" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~paelzer" class="sprite person">Christian Ehrhardt (paelzer)</a> wrote <time itemprop="commentTime" datetime="2022-06-02T07:39:48.777525+00:00" title="2022-06-02 07:39:48 UTC">on 2022-06-02</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/13"> #13</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>Thanks everyone for the discussion so far, I&#x27;m trying to add a few details and fill a few argumentative gaps.</p> <p>First let me re-share the simple scenario which I used to illustrate/prove the issues.<br /> Then in another comment below I&#x27;ll outline a few affects of this overall case.</p> <p>Example:</p> <p>On bionic install it &quot;wrong&quot; not using the meta package<br /> $ apt install apache2 libapache2-<wbr />mod-php7.<wbr />2<br /> $ do-release-upgrade</p> <p>Before:<br /> # dpkg -l | grep -e apache -e php<br /> ii apache2 2.4.29-1ubuntu4.23 amd64 Apache HTTP Server<br /> ii apache2-bin 2.4.29-1ubuntu4.23 amd64 Apache HTTP Server (modules and other binary files)<br /> ii apache2-data 2.4.29-1ubuntu4.23 all Apache HTTP Server (common files)<br /> ii apache2-utils 2.4.29-1ubuntu4.23 amd64 Apache HTTP Server (utility programs for web servers)<br /> ii libapache2-<wbr />mod-php7.<wbr />2 7.2.24-<wbr />0ubuntu0.<wbr />18.04.11 amd64 server-side, HTML-embedded scripting language (Apache 2 module)<br /> ii php-common 1:60ubuntu1 all Common files for PHP packages<br /> ii php7.2-cli 7.2.24-<wbr />0ubuntu0.<wbr />18.04.11 amd64 command-line interpreter for the PHP scripting language<br /> ii php7.2-common 7.2.24-<wbr />0ubuntu0.<wbr />18.04.11 amd64 documentation, examples and common module for PHP<br /> ii php7.2-json 7.2.24-<wbr />0ubuntu0.<wbr />18.04.11 amd64 JSON module for PHP<br /> ii php7.2-opcache 7.2.24-<wbr />0ubuntu0.<wbr />18.04.11 amd64 Zend OpCache module for PHP<br /> ii php7.2-readline 7.2.24-<wbr />0ubuntu0.<wbr />18.04.11 amd64 readline module for PHP</p> <p>After:<br /> # dpkg -l | grep -e apache -e php<br /> ii apache2 2.4.41-4ubuntu3.11 amd64 Apache HTTP Server<br /> ii apache2-bin 2.4.41-4ubuntu3.11 amd64 Apache HTTP Server (modules and other binary files)<br /> ii apache2-data 2.4.41-4ubuntu3.11 all Apache HTTP Server (common files)<br /> ii apache2-utils 2.4.41-4ubuntu3.11 amd64 Apache HTTP Server (utility programs for web servers)<br /> ii php-common 2:75 all Common files for PHP packages</p> <p>There are other variations of the bug, but they all end in a similar situation like this.</p> <p>And with that situation PHP execution is essentially &quot;off&quot;</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">Thanks everyone for the discussion so far, I'm trying to add a few details and fill a few argumentative gaps. First let me re-share the simple scenario which I used to illustrate/prove the issues. Then in another comment below I'll outline a few affects of this overall case. Example: On bionic install it "wrong" not using the meta package $ apt install apache2 libapache2-mod-php7.2 $ do-release-upgrade Before: # dpkg -l | grep -e apache -e php ii apache2 2.4.29-1ubuntu4.23 amd64 Apache HTTP Server ii apache2-bin 2.4.29-1ubuntu4.23 amd64 Apache HTTP Server (modules and other binary files) ii apache2-data 2.4.29-1ubuntu4.23 all Apache HTTP Server (common files) ii apache2-utils 2.4.29-1ubuntu4.23 amd64 Apache HTTP Server (utility programs for web servers) ii libapache2-mod-php7.2 7.2.24-0ubuntu0.18.04.11 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii php-common 1:60ubuntu1 all Common files for PHP packages ii php7.2-cli 7.2.24-0ubuntu0.18.04.11 amd64 command-line interpreter for the PHP scripting language ii php7.2-common 7.2.24-0ubuntu0.18.04.11 amd64 documentation, examples and common module for PHP ii php7.2-json 7.2.24-0ubuntu0.18.04.11 amd64 JSON module for PHP ii php7.2-opcache 7.2.24-0ubuntu0.18.04.11 amd64 Zend OpCache module for PHP ii php7.2-readline 7.2.24-0ubuntu0.18.04.11 amd64 readline module for PHP After: # dpkg -l | grep -e apache -e php ii apache2 2.4.41-4ubuntu3.11 amd64 Apache HTTP Server ii apache2-bin 2.4.41-4ubuntu3.11 amd64 Apache HTTP Server (modules and other binary files) ii apache2-data 2.4.41-4ubuntu3.11 all Apache HTTP Server (common files) ii apache2-utils 2.4.41-4ubuntu3.11 amd64 Apache HTTP Server (utility programs for web servers) ii php-common 2:75 all Common files for PHP packages There are other variations of the bug, but they all end in a similar situation like this. And with that situation PHP execution is essentially "off"</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/14" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~paelzer" class="sprite person">Christian Ehrhardt (paelzer)</a> wrote <time itemprop="commentTime" datetime="2022-06-02T07:46:13.082472+00:00" title="2022-06-02 07:46:13 UTC">on 2022-06-02</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/14"> #14</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>Relating this example above to a few details:</p> <p>#1<br /> Reasonable concern &quot;What if people upgraded, use the (wrong, old and non-serviced) mod-php happily and will now be broken by the SRU?</p> <p>=&gt; As shown above, once you are in this situation your mod-php is doing nothing.<br /> That IMHO invalidates the regression concern for that set of users.</p> <p>Only if you would manually ensure to keep all of the bionic php stack (libapache2-<wbr />mod-php7.<wbr />2 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline) installed from bionic would it still work.<br /> I tried bryce PPA on this special corner case of already a special situation.</p> <p>Yes it would upgrade (as intended)<br /> The following packages were automatically installed and are no longer required:<br /> &nbsp;&nbsp;libargon2-0 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline<br /> Use &#x27;apt autoremove&#x27; to remove them.<br /> The following NEW packages will be installed:<br /> &nbsp;&nbsp;libapache2-<wbr />mod-php libapache2-<wbr />mod-php7.<wbr />4 php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline<br /> The following packages will be upgraded:<br /> &nbsp;&nbsp;libapache2-<wbr />mod-php7.<wbr />2<br /> 1 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.</p> <p>PHP is still working, but now in 7.4 instead of the former 7.2.</p> <p>#2<br /> &quot;Is this just our case, after all one of the server team filed it?&quot;</p> <p>let me be honest - I&#x27;m not a php user or web server admin. But other than this bug we know that &quot;in the wild&quot; this has happened more than a few times.<br /> Bryce has mentioned that while working on this he found a few external references of people hitting and working around it in some way.</p> <p>#3<br /> Why do we consider this important &quot;now&quot; so late&quot;?</p> <p>Well, we have to admit of not seeing/knowing it earlier -&gt; that explains the lateness.</p> <p>I&#x27;m (personally, I don&#x27;t know how bad that really is as I&#x27;m neither a PHP nor a security expert) concerned that people might expose secrets by accident.</p> <p>Imagine the former php code used on bionic was this:</p> <p>$ echo &#x27;&lt;html&gt; &lt;head&gt; &lt;title&gt;Test&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;?php echo &quot;&lt;p&gt;You only see this&lt;/p&gt;&quot;; # secret to DB is foobar ?&gt; &lt;/body&gt; &lt;/html&gt;&#x27; &gt; /var/www/<wbr />html/index.<wbr />php</p> <p>On the web page as served to people on Bionic they saw see:<br /> &nbsp;&nbsp;&quot;You only see this&quot;.<br /> But after upgrading to Focal the bug is active and people will see:<br /> &nbsp;&quot;You only see this; # secret to DB is foobar ?&gt;&quot;</p> <p>I know it would be bad practice to put such secrets there in the first place, but still for me this gives the importance of the issue a slight bump.</p> <p>I&#x27;m not sure if this is convincing enough, but I considered it worth to share/summarize.</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">Relating this example above to a few details: #1 Reasonable concern "What if people upgraded, use the (wrong, old and non-serviced) mod-php happily and will now be broken by the SRU? =&gt; As shown above, once you are in this situation your mod-php is doing nothing. That IMHO invalidates the regression concern for that set of users. Only if you would manually ensure to keep all of the bionic php stack (libapache2-mod-php7.2 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline) installed from bionic would it still work. I tried bryce PPA on this special corner case of already a special situation. Yes it would upgrade (as intended) The following packages were automatically installed and are no longer required: libargon2-0 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline Use 'apt autoremove' to remove them. The following NEW packages will be installed: libapache2-mod-php libapache2-mod-php7.4 php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline The following packages will be upgraded: libapache2-mod-php7.2 1 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. PHP is still working, but now in 7.4 instead of the former 7.2. #2 "Is this just our case, after all one of the server team filed it?" let me be honest - I'm not a php user or web server admin. But other than this bug we know that "in the wild" this has happened more than a few times. Bryce has mentioned that while working on this he found a few external references of people hitting and working around it in some way. #3 Why do we consider this important "now" so late"? Well, we have to admit of not seeing/knowing it earlier -&gt; that explains the lateness. I'm (personally, I don't know how bad that really is as I'm neither a PHP nor a security expert) concerned that people might expose secrets by accident. Imagine the former php code used on bionic was this: $ echo '&lt;html&gt; &lt;head&gt; &lt;title&gt;Test&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;?php echo "&lt;p&gt;You only see this&lt;/p&gt;"; # secret to DB is foobar ?&gt; &lt;/body&gt; &lt;/html&gt;' &gt; /var/www/html/index.php On the web page as served to people on Bionic they saw see: "You only see this". But after upgrading to Focal the bug is active and people will see: "You only see this; # secret to DB is foobar ?&gt;" I know it would be bad practice to put such secrets there in the first place, but still for me this gives the importance of the issue a slight bump. I'm not sure if this is convincing enough, but I considered it worth to share/summarize.</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> </div> <div class="boardComment"> <div class="boardCommentDetails"> <a href="https://launchpad.net/~bryce" class="sprite person">Bryce Harrington (bryce)</a> <time title="2022-06-08 15:17:19 UTC" datetime="2022-06-08T15:17:19.904061+00:00">on 2022-06-08</time> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> In Progress &#8594; Fix Committed </td> </tr> </table> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/15" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~racb" class="sprite person">Robie Basak (racb)</a> wrote <time itemprop="commentTime" datetime="2022-07-06T15:16:08.726111+00:00" title="2022-07-06 15:16:08 UTC">on 2022-07-06</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/15"> #15</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>This isn&#x27;t Fix Committed; it&#x27;s awaiting SRU team response again, though with nothing in the queue. We&#x27;ve pinged and added this to a list for SRU team attention out of band.</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">This isn't Fix Committed; it's awaiting SRU team response again, though with nothing in the queue. We've pinged and added this to a list for SRU team attention out of band.</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td colspan="2">Changed in php-defaults (Ubuntu Focal): </td> </tr> <tr> <td style="text-align: right;"> <b>status</b>: </td> <td> Fix Committed &#8594; Incomplete </td> </tr> </table> </div> </div> <div xmlns="http://www.w3.org/1999/xhtml" itemscope="" itemtype="http://schema.org/UserComments" class="boardComment editable-message " data-baseurl="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/16" data-i-can-edit="False"> <div class="boardCommentDetails"> <div class="message-revision-container"> <div class="message-revision-container-header"> <span>Revision history for this message</span> <img src="/+icing/build/overlay/assets/skins/sam/images/close.gif" class="message-revision-close" /> </div> <script type="text/template"> <div class='message-revision-item'> <div class='message-revision-title'> <a class="sprite remove action-icon message-revision-del-btn"> Remove </a> <a class="js-action"> Revision #{revision}, created at {date_created_display} </a> </div> <div class='message-revision-body'>{content}</div> </div> </script> <div class="message-revision-list"></div> </div> <table> <tbody> <tr> <td> <a href="https://launchpad.net/~paelzer" class="sprite person">Christian Ehrhardt (paelzer)</a> wrote <time itemprop="commentTime" datetime="2022-07-27T15:13:14.181611+00:00" title="2022-07-27 15:13:14 UTC">on 2022-07-27</time><span class="editable-message-last-edit-date">: </span> </td> <td> </td> <td> </td> <td class="bug-comment-index"> <a itemprop="url" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/comments/16"> #16</a> </td> </tr> </tbody> </table> </div> <div class="boardCommentBody"> <div class="editable-message-body"> <div class="comment-text editable-message-text" itemprop="commentText"><p>Waiting for Robie to sync with Steve on a final decision after my clarifications.<br /> We will then follow whatever the decision is.</p></div> </div> <div class="editable-message-form" style="display: none"> <textarea style="width: 100%" rows="10">Waiting for Robie to sync with Steve on a final decision after my clarifications. We will then follow whatever the decision is.</textarea> <input type="button" value="Update" class="editable-message-update-btn" /> <input type="button" value="Cancel" class="editable-message-cancel-btn" /> </div> </div> <div class="boardCommentActivity"> <table class="bug-activity"> <tr> <td style="text-align: right;"> <b>tags</b>: </td> <td> removed: server-todo </td> </tr> </table> </div> </div> <div style="float: right;"> <a class="menu-link-activitylog" href="https://bugs.launchpad.net/ubuntu/bionic/+source/php-defaults/+bug/1890263/+activity">See full activity log</a> </div> <div class="clearfix"></div> <div align="center" id="add-comment-login-first"> To post a comment you must <a href="+login?comments=all">log in</a>. </div> </div><!-- class="top-portlet" --> </div><!--- id="maincontentsub"--> <div> <div id="duplicate-form-container"></div> <div id="privacy-form-container"></div> </div> </div> </div><!-- yui-b --> </div><!-- yui-main --> <div id="side-portlets" class="yui-b side"> <div id="involvement" class="portlet"> <ul class="involvement"> <li class="single"> <a class="sprite bugs" href="/ubuntu/bionic/+source/php-defaults/+filebug"> Report a bug </a> </li> </ul> </div> <div id="privacy" class="first portlet public"> <div id="privacy-text"> <span id="information-type-summary" class="sprite public">This report contains <strong id="information-type">Public</strong> information </span>&nbsp; <div id="information-type-description" style="padding-top: 5px">Everyone can see this information. </div> </div> </div> <div id="portlet-actions" class="portlet vertical"> <ul id="duplicate-actions"> </ul> <ul id="lock-status-actions"> </ul> </div> <div class="portlet vertical" id="portlet-subscription"> <div class="section"> <div id="current_user_subscription" class="False"> <span>You are</span> <a class="menu-link-subscription sprite modify edit" href="/ubuntu/bionic/+source/php-defaults/+bug/1890263/+subscribe"> not directly subscribed to this bug's notifications. </a> </div> <div id="sub-unsub-spinner">Subscribing...</div> <ul> <li><a class="menu-link-editsubscriptions sprite modify edit" href="https://bugs.launchpad.net/ubuntu/bionic/+source/php-defaults/+bug/1890263/+subscriptions" title="View and change your subscriptions to this bug">Edit bug mail</a></li> </ul> </div> <script type="text/javascript"> LPJS.use('io-base', 'node', 'lp.bugs.bugtask_index.portlets.subscription', function(Y) { Y.on('domready', function() { Y.lp.bugs.bugtask_index.portlets.subscription.initialize(); }); }); </script> </div> <div class="portlet vertical" id="portlet-subscribers"> <h2>Other bug subscribers</h2> <div> <div><a class="menu-link-addsubscriber sprite add" href="https://bugs.launchpad.net/ubuntu/bionic/+source/php-defaults/+bug/1890263/+addsubscriber" title="Launchpad will email that person whenever this bugs changes">Subscribe someone else</a></div> </div> <div id="other-bug-subscribers"></div> </div> <div class="portlet" id="portlet-watches"> <h2>Remote bug watches</h2> <ul> </ul> <p>Bug watches keep track of this bug in other bug trackers.</p> </div> </div><!-- yui-b side --> </div><!-- yui-t4 --> <div id="footer" class="footer"> <div class="lp-arcana"> <div class="lp-branding"> <a href="https://launchpad.net/"><img src="/@@/launchpad-footer-logo.svg" alt="Launchpad" width="65" height="18" /></a> &nbsp;&bull;&nbsp; <a href="https://launchpad.net/+tour">Take the tour</a> &nbsp;&bull;&nbsp; <a href="https://help.launchpad.net/">Read the guide</a> &nbsp; <form id="globalsearch" method="get" accept-charset="UTF-8" action="https://launchpad.net/+search"> <input type="search" id="search-text" name="field.text" /> <input type="image" src="/@@/search" style="vertical-align:5%" alt="Search Launchpad" /> </form> </div> </div> <div class="colophon"> &copy; 2004 <a href="http://canonical.com/">Canonical&nbsp;Ltd.</a> &nbsp;&bull;&nbsp; <a href="https://launchpad.net/legal">Terms of use</a> &nbsp;&bull;&nbsp; <a href="https://www.ubuntu.com/legal/dataprivacy">Data privacy</a> &nbsp;&bull;&nbsp; <a href="/feedback">Contact Launchpad Support</a> &nbsp;&bull;&nbsp; <a href="http://blog.launchpad.net/">Blog</a> &nbsp;&bull;&nbsp; <a href="https://canonical.com/careers">Careers</a> &nbsp;&bull;&nbsp; <a href="https://ubuntu.social/@launchpadstatus">System status</a> <span id="lp-version"> &nbsp;&bull;&nbsp; 78860d9 (<a href="https://dev.launchpad.net/">Get the code!</a>) </span> </div> </div> </div><!-- yui-d0--> <script id="json-cache-script">LP.cache = {"related_features": {}, "bug": {"self_link": "https://bugs.launchpad.net/api/devel/bugs/1890263", "web_link": "https://bugs.launchpad.net/bugs/1890263", "resource_type_link": "https://bugs.launchpad.net/api/devel/#bug", "id": 1890263, "private": false, "information_type": "Public", "name": null, "title": "release upgrade does not move to the new php apache mod", "description": "[Impact]\nUsers who install libapache2-mod-php7.2 (as opposed to the\nvirtual libapache2-mod-php package) and upgrade from bionic to focal\nwill not be upgraded to libapache2-mod-php7.4 as expected, and depending\non the way they upgrade may have modphp removed entirely, or left with modphp7.2 co-installed with php7.4 which may cause php code to display in the browser instead of executing the application (c.f. https://ubuntuforums.org/showthread.php?t=2393823).\n\nThis upload provides dummy packages to enable libapache2-mod-php7.2 to\nbe upgraded to libapache2-mod-php7.4 when upgrading from bionic to\nfocal.\n\n(As an aside, although eoan is no longer supported, we could potentially\nhave users upgrading from eoan to focal in order to get back to\nsupportability. This upload also includes the necessary changes to\nupload them as well.)\n\n[Test Case]\n###########################################\n### Bionic Test Case for BUGGY Behavior ###\n###########################################\n$ lxc launch ubuntu-daily:bionic lp1890263-modphp-buggy-bionic\n$ lxc shell lp1890263-modphp-buggy-bionic\n# apt-get update; apt-get -y full-upgrade\n# reboot\n$ lxc shell lp1890263-modphp-buggy-bionic\n# apt install -y libapache2-mod-php7.2\n\u00a0\u00a0The following NEW packages will be installed:\n\u00a0\u00a0\u00a0\u00a0apache2 ... libapache2-mod-php7.2 ... php7.2-common ...\n\u00a0\u00a0...\n# do-release-upgrade\n\u00a0\u00a0- Answer defaults for everything\n\u00a0\u00a0- Allow it to reboot when done, and log back in\n\n# lsb_release -sc\nfocal\n\n# apt-cache policy libapache2-mod-php* | grep -B1 Installed:\nlibapache2-mod-php:\n\u00a0\u00a0Installed: (none)\n--\nlibapache2-mod-php5:\n\u00a0\u00a0Installed: (none)\n--\nlibapache2-mod-php7.2:\n\u00a0\u00a0Installed: (none)\n--\nlibapache2-mod-php7.3:\n\u00a0\u00a0Installed: (none)\n--\nlibapache2-mod-php7.4:\n\u00a0\u00a0Installed: (none)\n\n# result=$(apt-cache policy libapache2-mod-php7.4 | grep Installed: | cut -d: -f2 | xargs)\n# [ \"${result}\" = \"(none)\" ] \u0026\u0026 echo \"BUG DETECTED\"\n\n# logout\n\n$ lxc stop lp1890263-modphp-buggy-bionic\n$ lxc delete lp1890263-modphp-buggy-bionic\n\n###########################################\n### Bionic Test Case for FIXED Behavior ###\n###########################################\n$ lxc launch ubuntu-daily:bionic lp1890263-modphp-fixed-bionic\n$ lxc shell lp1890263-modphp-fixed-bionic\n# apt-get update; apt-get -y full-upgrade\n# reboot\n$ lxc shell lp1890263-modphp-fixed-bionic\n# apt install -y libapache2-mod-php7.2\n\u00a0\u00a0The following NEW packages will be installed:\n\u00a0\u00a0\u00a0\u00a0apache2 ... libapache2-mod-php7.2 ... php7.2-common ...\n\u00a0\u00a0...\n# apt-add-repository -yus ppa:bryce/php-fixed-upgrade\n\n# do-release-upgrade\n\u00a0\u00a0- Answer defaults for everything\n\u00a0\u00a0- Allow it to reboot when done, and log back in\n\nTODO: Verify fix\n# apt-cache policy libapache2-mod-php7.2 | grep -B1 Installed\n# apt-cache policy libapache2-mod-php7.4 | grep -B1 Installed\n# apt-cache policy libapache2-mod-php | grep -B1 Installed\nFIX [NOT] DETECTED\n\n$ lxc stop lp1890263-modphp-fixed-bionic\n$ lxc delete lp1890263-modphp-fixed-bionic\n\n# [ $(lsb_release -sc) = \"bionic\" ] \u0026\u0026 (echo -e \"\\nProtocols h2 h2c http/1.1\" \u003e\u003e /etc/apache2/apache2.conf)\n\n(eoan-\u003efocal upgrades can be tested similarly, if desired.)\n\n[Where Problems Could Occur]\n\nSince the changes are confined to debian/control and debian/control.in,\nbehavior changes will be limited to packaging and, in particular,\npackage upgrade behavior. The current workaround for this problem -\nmanually installing/uninstalling via apt/dpkg - would still be effective\nworkarounds if a regression was to show itself.\n\nThere are a number of different paths to upgrading a distro from one\nrelease to another, and while several of these were tested in\ndevelopment of this fix, there could well be untested paths that may see\na change of behavior. However, the most likely issue we expect to see\nis not a regression but rather that there is another corner case we\nmissed that didn't work before and remains unfixed even still. (Indeed,\nthis bug is a corner case left unfixed from bigger fixes from the\npast...)\n\n[Other Info]\n\nA similar fix is already deployed to jammy which fixed this situation\nfor focal-\u003ejammy and impish-\u003ejammy uploads.\n\nAlso note that while Ubuntu itself recommends users install modphp via\nthe libapache-mod-php virtual package, there is ample 3rd party\ntutorials that are instructing to install libapache-mod-phpN.M.\n\n[Original Report]\n\nWhile checking how things behave for bug 1890029 I might have found another aspect/version of bug 1865218. But I'm not sure yet.\n\nBryce was working on that and he probably has a better answer, so I'll file a bug about what I've seen and assign it to him to share his thoughts.\n\nI tried to ways of a bionic-\u003efocal upgrade in otherwise clear bionic LXD containers.\n\nI did:\n1. get a bionic container\n2. apt install libapache2-mod-php7.2\n\u00a0\u00a0\u00a0that will pull in apache as well and work\n\n3a) edited /etc/apt/sources.list from bionic -\u003e focal\n\u00a0\u00a0\u00a0\u00a0apt update\n\u00a0\u00a0\u00a0\u00a0apt dist-upgrade\n\nThis one left me with libapache2-mod-php7.2 of Bionic still installed and no 7.4 of Focal to be seen.\n\n3b) I tried `do-release-upgrade -d` as some logic might be in there\n\nThis was different, it removed libapache2-mod-php7.2 but didn't bring in 7.4 as I'd have expected.\nBefore:\nroot@b-to-f2:~# dpkg -l | grep -e php -e apache2\nii apache2 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server\nii apache2-bin 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server (modules and other binary files)\nii apache2-data 2.4.29-1ubuntu4.13 all Apache HTTP Server (common files)\nii apache2-utils 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server (utility programs for web servers)\nii libapache2-mod-php7.2 7.2.24-0ubuntu0.18.04.6 amd64 server-side, HTML-embedded scripting language (Apache 2 module)\nii php-common 1:60ubuntu1 all Common files for PHP packages\nii php7.2-cli 7.2.24-0ubuntu0.18.04.6 amd64 command-line interpreter for the PHP scripting language\nii php7.2-common 7.2.24-0ubuntu0.18.04.6 amd64 documentation, examples and common module for PHP\nii php7.2-json 7.2.24-0ubuntu0.18.04.6 amd64 JSON module for PHP\nii php7.2-opcache 7.2.24-0ubuntu0.18.04.6 amd64 Zend OpCache module for PHP\nii php7.2-readline 7.2.24-0ubuntu0.18.04.6 amd64\n\nAfter:\nroot@b-to-f2:~# dpkg -l | grep -e php -e apache2\nii apache2 2.4.41-4ubuntu3 amd64 Apache HTTP Server\nii apache2-bin 2.4.41-4ubuntu3 amd64 Apache HTTP Server (modules and other binary files)\nii apache2-data 2.4.41-4ubuntu3 all Apache HTTP Server (common files)\nii apache2-utils 2.4.41-4ubuntu3 amd64 Apache HTTP Server (utility programs for web servers)\nii php-common 2:75 all\n\nSo mod-php is just gone :-/\nPlease tell me that I miss a point here, or is this really the come-back of 1865218?", "owner_link": "https://bugs.launchpad.net/api/devel/~paelzer", "bug_tasks_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/bug_tasks", "duplicate_of_link": null, "date_created": "2020-08-04T09:45:11.325140+00:00", "activity_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/activity", "subscriptions_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/subscriptions", "date_last_updated": "2022-07-27T15:13:14.770269+00:00", "who_made_private_link": null, "date_made_private": null, "heat": 12, "bug_watches_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/bug_watches", "cves_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/cves", "vulnerabilities_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/vulnerabilities", "duplicates_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/duplicates", "attachments_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/attachments", "security_related": false, "latest_patch_uploaded": null, "tags": [], "date_last_message": "2022-07-27T15:13:14.181611+00:00", "number_of_duplicates": 0, "message_count": 17, "users_affected_count": 1, "users_unaffected_count": 0, "users_affected_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/users_affected", "users_unaffected_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/users_unaffected", "users_affected_count_with_dupes": 1, "other_users_affected_count_with_dupes": 1, "users_affected_with_dupes_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/users_affected_with_dupes", "messages_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/messages", "lock_status": "Unlocked", "lock_reason": null, "linked_branches_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/linked_branches", "linked_merge_proposals_collection_link": "https://bugs.launchpad.net/api/devel/bugs/1890263/linked_merge_proposals", "http_etag": "\"05c0ca0034379ac23158154bb4406b44f0a09baf-aa86e55f1d4432159d3c28cb432308cb09fc5625\""}, "subscribers_portlet_url_data": {"web_link": "https://bugs.launchpad.net/bugs/1890263", "self_link": "https://bugs.launchpad.net/api/devel/bugs/1890263"}, "total_comments_and_activity": 108, "initial_comment_batch_offset": 41, "first visible_recent_comment": -24, "information_type_data": {"PUBLIC": {"value": "PUBLIC", "description": "Everyone can see this information.\n", "name": "Public", "order": 0, "is_private": false, "description_css_class": "choice-description"}, "PUBLICSECURITY": {"value": "PUBLICSECURITY", "description": "Everyone can see this security related information.\n", "name": "Public Security", "order": 1, "is_private": false, "description_css_class": "choice-description"}, "PRIVATESECURITY": {"value": "PRIVATESECURITY", "description": "Only the security group can see this information.\n ", "name": "Private Security", "order": 2, "is_private": true, "description_css_class": "choice-description"}, "USERDATA": {"value": "USERDATA", "description": "Only shared with users permitted to see private user information.\n", "name": "Private", "order": 3, "is_private": true, "description_css_class": "choice-description"}}, "bug_is_private": false, "context": {"self_link": "https://bugs.launchpad.net/api/devel/ubuntu/bionic/+source/php-defaults/+bug/1890263", "web_link": "https://bugs.launchpad.net/ubuntu/bionic/+source/php-defaults/+bug/1890263", "resource_type_link": "https://bugs.launchpad.net/api/devel/#bug_task", "bug_link": "https://bugs.launchpad.net/api/devel/bugs/1890263", "milestone_link": null, "status": "In Progress", "status_explanation": null, "importance": "Medium", "importance_explanation": null, "assignee_link": "https://bugs.launchpad.net/api/devel/~bryce", "bug_target_display_name": "php-defaults (Ubuntu Bionic)", "bug_target_name": "php-defaults (Ubuntu Bionic)", "bug_watch_link": null, "date_assigned": "2022-03-24T19:04:11.406079+00:00", "date_created": "2022-03-24T18:58:06.131637+00:00", "date_confirmed": "2022-05-05T19:11:17.285323+00:00", "date_incomplete": null, "date_in_progress": "2022-05-05T19:11:17.285323+00:00", "date_closed": null, "date_left_new": "2022-05-05T19:11:17.285323+00:00", "date_triaged": "2022-05-05T19:11:17.285323+00:00", "date_fix_committed": null, "date_fix_released": null, "date_left_closed": null, "owner_link": "https://bugs.launchpad.net/api/devel/~bryce", "target_link": "https://bugs.launchpad.net/api/devel/ubuntu/bionic/+source/php-defaults", "title": "Bug #1890263 in php-defaults (Ubuntu Bionic): \"release upgrade does not move to the new php apache mod\"", "related_tasks_collection_link": "https://bugs.launchpad.net/api/devel/ubuntu/bionic/+source/php-defaults/+bug/1890263/related_tasks", "is_complete": false, "http_etag": "\"acda20d058e1370aecf2dd63a265e7242295e1f8-d8496fb8d88fbc423a74c9bacc4c92cacf88b286\""}};</script> </body> <!-- Facet name: bugs Page type: main_side Has global search: True Has application tabs: True Has side portlets: True At least 79 queries/external actions issued in 1.13 seconds Features: {'profiling.enabled': None, 'hard_timeout': '9000', 'app.mainsite_only.canonical_url': None, 'js.yui_version': None, 'app.maintenance_message': None, 'bugs.affected_count_includes_dupes.disabled': None, 'baselayout.careers_link.disabled': None, 'visible_render_time': None} r78860d9 --> </html>

Pages: 1 2 3 4 5 6 7 8 9 10