Purging a legacy PHP version from an Ubuntu server

Published on 2024-12-30 • Modified on 2024-12-30

This snippet shows how to purge a legacy PHP version from an Ubuntu server. Now that I have installed PHP 8.4 on my server and all my websites are OK with this new version, I don't need the previous versions any more. One can use a wildcard to select all that must be removed.


sudo apt remove --purge 'php8.3*' -y

 More on Stackoverflow  Random snippet

  Work with me!


Call to action

Did you like this post? You can help me back in several ways: (use the "reply" link on the right to comment or to contact me )

Thank you for reading! And see you soon on Strangebuzz! πŸ˜‰

COil

[πŸ‡¬πŸ‡§] Snippet 50/50 Last snippet of the year! Purging a legacy PHP version from an Ubuntu server www.strangebuzz.com/en/snippets/... #server #ubuntu #php #legacy #devops

[image or embed]

— COil 🐝 (@coil.ooo) 31 dΓ©cembre 2024 Γ  08:12