Skip to content

Instantly share code, notes, and snippets.

@ssaki
Last active December 15, 2024 16:25
Show Gist options
  • Select an option

  • Save ssaki/c764dbb97ea1fd21c39bab3a0b1316a1 to your computer and use it in GitHub Desktop.

Select an option

Save ssaki/c764dbb97ea1fd21c39bab3a0b1316a1 to your computer and use it in GitHub Desktop.
[APT / PHP] Upgrading all installed php8.3 packages to php8.4
#/bin/sh
apt-mark showmanual | grep php8.3 | sed 's|8\.3|8.4|' | xargs apt install -y && apt-mark showmanual | grep php8.3 | xargs apt purge -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment