Skip to content

Workaround problem with PHP 7.2 auto-upgrade

Sunil Mohan Adapa requested to merge sunilmohan/freedombox:fix-php72 into master

This is a proposal to workaround the PHP 7.2 problem that we are currently facing. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893481

Three possible solutions were considered.

  1. Do nothing and let the PHP folks fix the report Debian bug.
  2. Depend explicitly on a particular version of PHP. This is not so bad because multiple versions of PHP are being kept at the same time in Debian repository. But we need to update FreedomBox whenever a newer version of PHP is out.
  3. This solution is midway. Don't depend on particular version of PHP. Let FreedomBox setup code pick the latest version of PHP and disable the rest. On the positive side, it is not at all disruptive. On the negative side, we will need to increment the FreedomBox apache app version to fix the problem. If FreedomBox package is updated first and PHP is updated later, problem is not solved. If the Debian bug is not fixed, it will continue to cause problems for users, but we will be in a position to address it.

Whether or not this solution is accepted, the merge request has some good independent patches.

Edited by Sunil Mohan Adapa

Merge request reports

Loading