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
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 )
- Report any error/typo.
- Report something that could be improved.
- Like and repost!
- Follow me on Bluesky π¦
- Subscribe to the RSS feed.
- Click on the More on Stackoverflow buttons to make me win "Announcer" badges π .
Thank you for reading! And see you soon on Strangebuzz! π
[π¬π§] 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
— COil π (@coil.ooo) 31 dΓ©cembre 2024 Γ 08:12
[image or embed]