This is a solution for an ubuntu server running WordPress. This is the message that I was seeing under site health:
First make sure you’re running a newer version of PHP. Run the command:
If you get 7.4 these are the commands you want to run. If you’re on a lower version it is best to consider upgrading to the latest PHP version.
Run the following command into your console to resolve these issues:
sudo apt-get install php7.4-curl php7.4-xml php7.4-imagick php7.4-zip
You may have run into these issues if you followed this tutorial:
This is a great tutorial and can help you get up and running with WordPress for free! (with limitations of course) I really recommend checking it out if you’re interested.