requer ext-curl *

For those who use php8.0

sudo apt-get install php8.0-curl
----------------------------------------------------------
Or simply run below command to install by your version:
sudo apt-get install php-curl
Grumpy Goosander